diff --git a/mistletoe-1.2.1.tar.gz b/mistletoe-1.2.1.tar.gz deleted file mode 100644 index 64c34bc..0000000 --- a/mistletoe-1.2.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:c0e21859267347ca686d1aacccf690cd0e52ed3c33e4455336fa30dbe697eeb2 -size 118396 diff --git a/mistletoe-1.3.0.tar.gz b/mistletoe-1.3.0.tar.gz new file mode 100644 index 0000000..f21221c --- /dev/null +++ b/mistletoe-1.3.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c5a81d97eadf09fc13b29e9d63518802e9f645237e018e1a3059c3f87d9e9d1 +size 121653 diff --git a/python-mistletoe.changes b/python-mistletoe.changes index ac33f8d..342c68d 100644 --- a/python-mistletoe.changes +++ b/python-mistletoe.changes @@ -1,3 +1,28 @@ +------------------------------------------------------------------- +Wed Feb 7 19:39:13 UTC 2024 - Dirk Müller + +- 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): + ------------------------------------------------------------------- Thu Dec 14 09:57:00 UTC 2023 - Elisei Roca diff --git a/python-mistletoe.spec b/python-mistletoe.spec index d936a98..72844d8 100644 --- a/python-mistletoe.spec +++ b/python-mistletoe.spec @@ -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