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="proxy.php?url=https%3A%2F%2Fgithub.com%2F42-AI%2Fbootcamp_python%2Fwiki%2F%7Bimage_path%7D">

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

Clone this wiki locally