aboutsummaryrefslogtreecommitdiff
path: root/build_readme.py
blob: eabed5850f989260c6a4115a424264e96d876fe1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
import markdown

html = markdown.markdownFromFile(
        input="documentation_fr.md",
        extensions=['markdown.extensions.codehilite', 'markdown.extensions.toc'],
        extension_configs={
            'markdown.extensions.codehilite': {
                'noclasses': True,
            },
            'markdown.extensions.toc': {
                'title': 'Sommaire'
            }
        })