Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
fix: Fix incorrect argument name passed to Markdown
- Loading branch information
Showing
with
1 addition
and
1 deletion.
-
+1
−1
src/mkdocstrings/handlers/base.py
|
|
@@ -156,7 +156,7 @@ def update_env(self, md: Markdown, config: dict) -> None: |
|
|
of [mkdocstrings.plugin.MkdocstringsPlugin.on_config][] to see what's in this dictionary. |
|
|
""" |
|
|
# Re-instantiate md: see https://github.com/tomchristie/mkautodoc/issues/14 |
|
|
md = Markdown(extensions=config["mdx"], extensions_configs=config["mdx_configs"]) |
|
|
md = Markdown(extensions=config["mdx"], extension_configs=config["mdx_configs"]) |
|
|
self.env.filters["convert_markdown"] = lambda text: do_mark_safe(md.convert(text)) |
|
|
|
|
|
|
|
|
|