mirror of
https://github.com/venthur/blag.git
synced 2025-11-25 20:52:43 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
67f24642e5 | ||
|
|
f1020637e6 | ||
|
|
a4d596b79d | ||
|
|
79edd04ee8 |
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,6 +1,13 @@
|
||||
# Changelog
|
||||
|
||||
## [0.0.0] - YYYY-MM-DD
|
||||
## [1.0.0] - 2021-08-18
|
||||
|
||||
*
|
||||
* first 1.0 release!
|
||||
* bump requirements of feedgenerator to 1.9.2. this version uses the
|
||||
description to provide a subtitle for the feed
|
||||
|
||||
## [0.0.9] - 2021-06-22
|
||||
|
||||
* updated to jinja 3.0
|
||||
* updated to sphinx 4.0
|
||||
* added link to changelog
|
||||
|
||||
@@ -30,7 +30,7 @@ def markdown_factory():
|
||||
"""
|
||||
md = Markdown(
|
||||
extensions=[
|
||||
'meta', 'fenced_code', 'codehilite',
|
||||
'meta', 'fenced_code', 'codehilite', 'smarty',
|
||||
MarkdownLinkExtension()
|
||||
],
|
||||
output_format='html5',
|
||||
|
||||
@@ -1 +1 @@
|
||||
__VERSION__ = '0.0.7'
|
||||
__VERSION__ = '1.0.0'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
sphinx==3.5.3
|
||||
sphinx==4.0.1
|
||||
twine==3.4.1
|
||||
wheel==0.36.2
|
||||
pytest==6.2.2
|
||||
pytest-cov==2.11.1
|
||||
flake8==3.9.0
|
||||
pytest==6.2.4
|
||||
pytest-cov==2.12.1
|
||||
flake8==3.9.2
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
markdown==3.3.4
|
||||
feedgenerator==1.9.1
|
||||
jinja2==2.11.3
|
||||
pygments==2.8.1
|
||||
feedgenerator==1.9.2
|
||||
jinja2==3.0.1
|
||||
pygments==2.9.0
|
||||
|
||||
2
setup.py
2
setup.py
@@ -20,6 +20,8 @@ setup(
|
||||
project_urls={
|
||||
'Documentation': 'https://blag.readthedocs.io/',
|
||||
'Source': 'https://github.com/venthur/blag',
|
||||
'Changelog':
|
||||
'https://github.com/venthur/blag/blob/master/CHANGELOG.md',
|
||||
},
|
||||
python_requires='>=3.8',
|
||||
package_data={
|
||||
|
||||
@@ -49,3 +49,31 @@ def test_convert_metadata(input_, expected):
|
||||
def test_markdown_factory():
|
||||
md = markdown_factory()
|
||||
assert isinstance(md, markdown.Markdown)
|
||||
|
||||
|
||||
def test_smarty():
|
||||
md = markdown_factory()
|
||||
|
||||
md1 = """
|
||||
|
||||
this --- is -- a test ...
|
||||
|
||||
"""
|
||||
html, meta = convert_markdown(md, md1)
|
||||
assert 'mdash' in html
|
||||
assert 'ndash' in html
|
||||
assert 'hellip' in html
|
||||
|
||||
|
||||
def test_smarty_code():
|
||||
md = markdown_factory()
|
||||
|
||||
md1 = """
|
||||
```
|
||||
this --- is -- a test ...
|
||||
```
|
||||
"""
|
||||
html, meta = convert_markdown(md, md1)
|
||||
assert 'mdash' not in html
|
||||
assert 'ndash' not in html
|
||||
assert 'hellip' not in html
|
||||
|
||||
Reference in New Issue
Block a user