Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Remove deprecated md_globals from extendMarkdown.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgestar committed Apr 25, 2023
1 parent 82729c1 commit 6aef729
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mdx_outline.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ def __init__(self, *args, **kwargs):
}
super(OutlineExtension, self).__init__(**kwargs)

def extendMarkdown(self, md, md_globals):
def extendMarkdown(self, md):
ext = OutlineProcessor(md)
ext.config = self.config
md.treeprocessors.add('outline', ext, '_end')
Expand Down

0 comments on commit 6aef729

Please sign in to comment.