From 6aef729efc1dc47d3e9941eb9730874cade76bbc Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Wed, 26 Apr 2023 00:48:53 +0200 Subject: [PATCH] Remove deprecated md_globals from extendMarkdown. --- mdx_outline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mdx_outline.py b/mdx_outline.py index 6ffe891..11bf0c5 100644 --- a/mdx_outline.py +++ b/mdx_outline.py @@ -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')