- Upgrade to 0.7.0:

- Create wheels for Python 3.10
  - Drop support for Python 2.7 and 3.5
  - The output generated by
    cmarkgfm.github_flavored_markdown_to_html for code blocks has
    changed to be in line with that of github.com.
  - This change may break existing css rules as code blocks were
    generated differently for cmarkgfm<0.6.0.
-        <pre><code class="language-python">print('hello')
+        <pre lang="python"><code>print('hello'
         </code></pre>

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-cmarkgfm?expand=0&rev=6
This commit is contained in:
Matej Cepl 2022-02-09 10:38:40 +00:00 committed by Git OBS Bridge
parent 3ea2d78f2c
commit 88223d1aa3
4 changed files with 21 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b6a549aba327abd986d6748cf21c8637d741c76850e7fefbdef8d28bfe138e32
size 134806

3
cmarkgfm-0.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a65c152f9da8bf82714f19c287fe0968ee8e7f899e8d94503d73d0fe57229c19
size 140573

View File

@ -1,3 +1,19 @@
-------------------------------------------------------------------
Wed Feb 9 10:26:31 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Upgrade to 0.7.0:
- Create wheels for Python 3.10
- Drop support for Python 2.7 and 3.5
- The output generated by
cmarkgfm.github_flavored_markdown_to_html for code blocks has
changed to be in line with that of github.com.
- This change may break existing css rules as code blocks were
generated differently for cmarkgfm<0.6.0.
- <pre><code class="language-python">print('hello')
+ <pre lang="python"><code>print('hello'
</code></pre>
-------------------------------------------------------------------
Mon Mar 22 11:00:36 UTC 2021 - Ben Greiner <code@bnavigator.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-cmarkgfm
#
# Copyright (c) 2021 SUSE LLC
# Copyright (c) 2022 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 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-cmarkgfm
Version: 0.5.3
Version: 0.7.0
Release: 0
Summary: Minimal bindings to GitHub's fork of cmark
License: MIT