forked from pool/python-mistletoe
- 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): OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-mistletoe?expand=0&rev=6
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-mistletoe
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-mistletoe
|
||||
Version: 1.2.1
|
||||
Version: 1.3.0
|
||||
Release: 0
|
||||
Summary: A Markdown parser in pure Python
|
||||
License: MIT
|
||||
@@ -34,7 +34,7 @@ BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Recommends: python-Pygments
|
||||
Requires(post): update-alternatives
|
||||
Requires(postun):update-alternatives
|
||||
Requires(postun): update-alternatives
|
||||
BuildArch: noarch
|
||||
%python_subpackages
|
||||
|
||||
|
Reference in New Issue
Block a user