markdown-it-py
markdown-it-py copied to clipboard
Markdown parser, done right. 100% CommonMark support, extensions, syntax plugins & high speed. Now in Python!
Hello, I've written a [plaintext renderer](https://gist.github.com/elespike/86759b912fe2e0aba048c558ae59e40c) that removes all markup. The inspiration for this is to facilitate NLP on a corpus of markdown documents. =) Since I'm uncertain about a...
### Describe the problem Building a markdown file that ends with a bullet (or numbered) list and two (or more) spaces leads to a traceback: ``` - foo - bar...
### Describe the problem I found what I think is a bug with the parsing of hard like breaks . [Example 634](https://spec.commonmark.org/0.30/#example-634) ```markdown foo\ baz ``` should be parsed as...
Hi, what do you think about maybe adding the following replacement to your replacements extension: Replace --> with → That would be very useful to write documentations where I often...
**Describe the bug** Markdown is not correctly rendered when the package is used inside a string filter in Django. Lists error out with Int() being passed characters, when I disable...
@chrisjsewell not sure if you want this merged, but if nothing else, this is to showcase and let you know that a MyST formatter exists :wink: In addition to auto-formatting...
Should we deprecate "default" preset name and `markdown_it.presets.default` in favor of "js-default" and `markdown_it.presets.js_default` ?
In JS, the renderer class is initialized with no arguments. In `markdown-it-py` renderer classes take a `MarkdownIt` parser instance as argument.
@chrisjsewell can you think of any other places in the codebase where this Javascript string (string of UTF-16 code units) versus Python3 string (string of Unicode codepoints) difference could cause...
I simply commented this function out, because `str.replace()` takes strings as input, not re.Patterns, so this is probably broken. _Originally posted by @hukkinj1 in https://github.com/executablebooks/markdown-it-py/pull/64#r509822972_