radude / mdx_truly_sane_lists

Extension for Python-Markdown that makes lists truly sane. Custom indents for nested lists and fix for messy linebreaks and paragraphs between lists.
MIT License
81 stars 10 forks source link

Warning when used with `mkdocs==1.4.2` #18

Open samuelcolvin opened 1 year ago

samuelcolvin commented 1 year ago

I see the following output when building:

INFO     -  DeprecationWarning: 'version' is deprecated. Use '__version__' instead.
              File "/Users/samuel/code/pydantic/env/lib/python3.10/site-packages/markdown/__init__.py", line 51, in __getattr__
                warnings.warn(
              File "/Users/samuel/code/pydantic/env/lib/python3.10/site-packages/mdx_truly_sane_lists/__init__.py", line 1, in
                from .mdx_truly_sane_lists import makeExtension

I have mdx-truly-sane-lists==1.3 installed.

sn0wcat commented 1 year ago

There seems to be a fix implemented by @michsien104 #19 , @radude could you please take a look and merge this?