Skip to content

Commit

Permalink
v5.0 run-python
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinPacker committed Jul 7, 2024
1 parent aa282ce commit 2421518
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
30 changes: 14 additions & 16 deletions test/codetest.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
template: Martin Template.pptx
contentsplit: 1 2
contentsplitdirn: h
style.fontsize.christopher: 45px
style.fgcolor.christopher: FF0000
hidden: yes

# Code Test
<style>
.christopher{
font-size: 45px
}
</style>

### Here Is A Graph
# Code Test

* Here is a bullet
* Here is a sub-bullet
### Here Is A Slide With A Graph

``` run-python
Expand All @@ -21,15 +27,11 @@ chart1 = RunPython.makeChart(slide,
XL_CHART_TYPE.COLUMN_CLUSTERED,
renderingRectangle,
chart_data,
"Hello World",
XL_LEGEND_POSITION.BOTTOM)
"My Important Chart",
XL_LEGEND_POSITION.BOTTOM)
```

### Here Is A Table
<!-- md2pptx: contentsplit: 2 1 -->
<!-- md2pptx: contentsplitdirn: v -->
## Here Is A Table

``` run-python
Expand All @@ -45,8 +47,4 @@ RunPython.applyCellFillRGB(table1, 2, 3, 255, 255, 0)
# Set list of cells to green
greenList = [(0, 0), (2,1), (3,2)]
RunPython.applyCellListFillRGB(table1, greenList, 0, 255, 0)
```

* Here's a bullet below the table
```
Binary file modified test/codetest.pptx
Binary file not shown.

0 comments on commit 2421518

Please sign in to comment.