markdown-it-py icon indicating copy to clipboard operation
markdown-it-py copied to clipboard

Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed. Now in Python!

Results 62 markdown-it-py issues
Sort by recently updated
recently updated
newest added

**Is your feature request related to a problem? Please describe.** Use case: Render a snippet of markdown in a file on disk into HTML. **Describe the solution you'd like** A...

documentation
enhancement

**Is your feature request related to a problem? Please describe.** Is it simply a matter of copy pasting `renderer.py` and changing the functions? I imagine I would have to familiarize...

documentation

Using panflute could convert from token to the pandoc ast, which may be useful for further processing to the other outputs formats which pandoc offers

enhancement

Like ```sh markdown-it --print-completion bash | sudo tee /usr/share/bash-completion/completions/markdown-it markdown-it --print-completion tcsh | sudo tee /etc/profile.d/markdown-it.completion.csh markdown-it --print-completion zsh | sudo tee /usr/share/zsh/site-functions/_markdown-it ```

### Context I understood thanks to https://markdown-it.github.io/ that ```` ```{admonition} This is my `admonition` This is my note ``` ```` is not parsed as a `fence`. However, it seems that...

enhancement

updates: - [github.com/pre-commit/pre-commit-hooks: v4.5.0 → v4.6.0](https://github.com/pre-commit/pre-commit-hooks/compare/v4.5.0...v4.6.0) - [github.com/astral-sh/ruff-pre-commit: v0.1.11 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.1.11...v0.4.2) - [github.com/pre-commit/mirrors-mypy: v1.8.0 → v1.10.0](https://github.com/pre-commit/mirrors-mypy/compare/v1.8.0...v1.10.0)

### Context I'm a contributor and user of HoloViz Panel. It uses `markdown-it-py` as the default renderer for markdown. I would really like my code blocks to be easy to...

enhancement

### Describe the bug MWE: ```python from markdown_it import MarkdownIt from markdown_it.tree import SyntaxTreeNode md = MarkdownIt("gfm-like") # okay: tokens = md.parse("_https://example.com_") print(SyntaxTreeNode(tokens).pretty()) # bug: tokens = md.parse("_https://example.com/a_") print(SyntaxTreeNode(tokens).pretty()) ```...

bug

### Describe the bug MWE: ```python from markdown_it import MarkdownIt from markdown_it.tree import SyntaxTreeNode md = MarkdownIt("gfm-like") tokens = md.parse("74.78.Fk") print(SyntaxTreeNode(tokens).pretty()) ``` Output: ``` ``` Problem: `"74.78.Fk"` is not a...

bug
plugins

### Context When using the `highlight` option to provide a custom syntax highlighter, markdown-it-py wraps the HTML output of the highlighter in `` unless it already starts with `> pygments.highlight('print("hello")',...

enhancement