googleworkspace / md2googleslides

Generate Google Slides from markdown
Apache License 2.0
4.48k stars 284 forks source link

error in documentation about code block font sizes #92

Open jonathan-chin opened 3 years ago

jonathan-chin commented 3 years ago

this is in version 1.0.0. currently, the documentation says to put the styling after the code block:

### Hello World

```javascript
console.log('Hello world');
```{style="font-size: 36pt"}

When trying this, all other slides after that one aren't rendered. Instead, the style specification should be added in the opening triple backticks, such as:

### Hello World

```{style="font-size: 36pt"}
console.log('Hello world');