Skip to content

Pdf Builder syntax

matboivin edited this page Dec 23, 2019 · 1 revision

If you want to use the pdfbuilder.py script you have to follow this syntax:

Main elements

h1 title

# {content}

h2 title

## {content}

h3 title

### {content}

List

* {content}

Image

<img src="{image_path}">

Code section

```  
{content}
```

Table

|                  |                  |
| ----------------:| ---------------- |
|   {content}      |   {content}      |
|   {content}      |   {content}      |
|   {content}      |   {content}      |
|   {content}      |   {content}      |

Warning: use with caution, you can only have 2 columns with the pdf builder.

Text formating

Bold

text **{bold content}** text
text *{bold content}* text

Italic

text __{italic content}__ text
text _{italic content}_ text

Code highlight

text `{code content}` text