python-mistletoe

Edit Package python-mistletoe
https://github.com/miyuchina/mistletoe

A Markdown parser in pure Python, designed to be fast, spec-compliant and fully customizable.

Refresh
Refresh
Source Files
Filename Size Changed
mistletoe-1.3.0.tar.gz 0000121653 119 KB
python-mistletoe.changes 0000001970 1.92 KB
python-mistletoe.spec 0000002205 2.15 KB
Latest Revision
Ana Guerrero's avatar Ana Guerrero (anag+factory) accepted request 1144996 from Dirk Mueller's avatar Dirk Mueller (dirkmueller) (revision 2)
- update to 1.3.0:
  * Add line numbers (`line_number` attribute) on all _block_
    tokens during parsing (#188).
  * More thorough documentation and explanation of AST and tokens
    in the Developer's Guide (within #188).
  * `HtmlRenderer`: Option to skip HTML tokens parsing (#74 via
    #204). Just pass `process_html_tokens=False` to the
    renderer's constructor.
  * `LaTeXRenderer`: Add AMS packages for Math (#207).
  * `MarkdownRenderer`: Penultimate lines of multiline fragments
    being ignored (#201).
  * `MathJaxRenderer`: Output inline math (in: `$...$`) correctly
    (out: `\(...\)`) (#195).
  * Make local installation work again with pip 23.2 and above
  * `MarkdownRenderer`: Keep the original content spacing after
    the list marker (#196 via #197).
  * The old behavior can be enforced by passing
    `normalize_whitespace=True` to the renderer's constructor
  * Provided you create `ListItem`'s tokens directly via its
    constructor, you need to pass it a new parameter called
    `indentation` (number of spaces before the item marker):
Comments 0
openSUSE Build Service is sponsored by