Commit 1f11fbfa authored by Marco Cavalli's avatar Marco Cavalli
Browse files

feat: support up to 6 levels in toc

parent 06b91ecb
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -248,7 +248,7 @@ def get_md_to_html_command(

    ### Command

    `pandoc -f markdown <consolidated_md_path> -t chunkedhtml --wrap=none -o <dest> --css=<css_src file 1>{repeated for subsequent CSS files} --standalone --toc --toc-depth 4 --template=official.html --split-level=1 --lua-filter=md_to_html.lua --resource-path=<src>`
    `pandoc -f markdown <consolidated_md_path> -t chunkedhtml --wrap=none -o <dest> --css=<css_src file 1>{repeated for subsequent CSS files} --standalone --toc --toc-depth 6 --template=official.html --split-level=1 --lua-filter=md_to_html.lua --resource-path=<src>`
    """
    command = [
        "pandoc",
@@ -264,7 +264,7 @@ def get_md_to_html_command(
        "--standalone",
        "--toc",
        "--toc-depth",
        "4",
        "6",
        "--template=official.html",
        "--split-level=1",
        "--lua-filter=md_to_html.lua",