Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 30, 2023
1 parent 218a9d3 commit eaf55db
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions src/mdformat/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ def add_cli_options(parser: argparse.ArgumentParser) -> None:
@staticmethod
def update_mdit(mdit: MarkdownIt) -> None:
"""Update the parser, e.g. by adding a plugin: `mdit.use(myplugin)`"""


def _load_parser_extensions() -> dict[str, ParserExtensionInterface]:
parser_extension_entrypoints = importlib_metadata.entry_points(
group="mdformat.parser_extension"
Expand Down
1 change: 0 additions & 1 deletion src/mdformat/renderer/_context.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,6 @@ def _render_inline_as_text(node: RenderTreeNode, context: RenderContext) -> str:
Don't try to use it! Spec requires to show `alt` content with
stripped markup, instead of simple escaping.
"""

def text_renderer(node: RenderTreeNode, context: RenderContext) -> str:
return node.content

Expand Down

0 comments on commit eaf55db

Please sign in to comment.