File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 4141
4242class InlineGraphvizExtension (markdown .Extension ):
4343
44- def extendMarkdown (self , md , md_globals ):
44+ def extendMarkdown (self , md ):
4545 """ Add InlineGraphvizPreprocessor to the Markdown instance. """
4646 md .registerExtension (self )
47-
48- md .preprocessors .add ('graphviz_block' ,
49- InlineGraphvizPreprocessor (md ),
50- "_begin" )
47+ md .preprocessors .register (
48+ InlineGraphvizPreprocessor (md ), 'graphviz_block' , 40
49+ )
5150
5251
5352class InlineGraphvizPreprocessor (markdown .preprocessors .Preprocessor ):
Original file line number Diff line number Diff line change 2222 name = "markdown_inline_graphviz_extension" ,
2323 version = VERSION ,
2424 py_modules = ["markdown_inline_graphviz" ],
25- install_requires = ['Markdown>=2.3.1 ' ],
25+ install_requires = ['Markdown>=3.0 ' ],
2626 author = "Cesar Morel" ,
2727 author_email = "cesaremoreln@gmail.com" ,
2828 description = "Render inline graphs with Markdown and Graphviz (python3 version)" ,
You can’t perform that action at this time.
0 commit comments