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