Skip to content

Commit

Permalink
Monkeypatch in new HEADER_ID_PREFIX. (#268)
Browse files Browse the repository at this point in the history
Monkeypatch in new HEADER_ID_PREFIX.
  • Loading branch information
scragly authored Sep 30, 2019
2 parents ba8f2d1 + ccb4211 commit 0676efa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pydis_site/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
from wiki.plugins.macros.mdx import toc

# Remove the toc header prefix. There's no option for this, so we gotta monkey patch it.
toc.HEADER_ID_PREFIX = ''

0 comments on commit 0676efa

Please sign in to comment.