Skip to content

Commit

Permalink
Add markdown extension toc
Browse files Browse the repository at this point in the history
  • Loading branch information
nesnoj committed Nov 12, 2024
1 parent a1231c8 commit 2f68dbb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,14 @@ def __getitem__(self, item): # noqa: D105, ANN001, ANN204
"MARKDOWN_EXTENSIONS": [
"markdown.extensions.extra",
"markdown.extensions.admonition",
"markdown.extensions.toc",
"md4mathjax",
],
"MARKDOWN_EXTENSION_CONFIGS": {
"markdown.extensions.toc": {
"toc_depth": 2
}
},
},
}

Expand Down

0 comments on commit 2f68dbb

Please sign in to comment.