Skip to content

Commit

Permalink
hack: turn off plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKing committed Dec 21, 2022
1 parent c150553 commit 7e3cafa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions mdformat_mkdocs/plugin.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from functools import partial
from typing import Mapping

from markdown_it import MarkdownIt
Expand Down Expand Up @@ -27,6 +26,7 @@ def _render_list(node: RenderTreeNode, context: RenderContext, bullet: str) -> s
# This can be used to overwrite renderer functions of existing syntax
# or add support for new syntax.
RENDERERS: Mapping[str, Render] = {
"bullet_list": partial(_render_list, bullet="-"),
"ordered_list": partial(_render_list, bullet="1."),
# from functools import partial
# "bullet_list": partial(_render_list, bullet="-"),
# "ordered_list": partial(_render_list, bullet="1."),
}

0 comments on commit 7e3cafa

Please sign in to comment.