~eightytwo/idspispopd

222dd133c6274fa8b2ddcc5a977cc30249ba684a — eightytwo 4 years ago b946cf7
Limit the table of contents to heading 1
1 files changed, 1 insertions(+), 1 deletions(-)

M build.py
M build.py => build.py +1 -1
@@ 74,7 74,7 @@ def parse_markdown(filepath: str) -> Dict:
    md = markdown.Markdown(
        extensions=[
            'meta',
            TocExtension(title='Contents', permalink=True),
            TocExtension(title='Contents', permalink=True, toc_depth=2),
            CodeHiliteExtension(guess_lang=False),
        ],
        output_format='html5',