]>
Commit | Line | Data |
---|---|---|
2ca79e96 IB |
1 | import markdown |
2 | ||
3 | html = markdown.markdownFromFile( | |
4 | input="documentation_fr.md", | |
db905e07 IB |
5 | extensions=[ |
6 | 'markdown.extensions.codehilite', | |
7 | 'markdown.extensions.toc' | |
8 | ], | |
2ca79e96 IB |
9 | extension_configs={ |
10 | 'markdown.extensions.codehilite': { | |
11 | 'noclasses': True, | |
940ccd88 IB |
12 | }, |
13 | 'markdown.extensions.toc': { | |
14 | 'title': 'Sommaire' | |
2ca79e96 IB |
15 | } |
16 | }) |