pawelsikora / mkdocs-with-confluence

MkDocs plugin for uploading markdown documentation to Confluence via Confluence REST API
MIT License
75 stars 34 forks source link

Newlines and links #18

Open jorrizza opened 1 year ago

jorrizza commented 1 year ago

This PR will enable the remove_text_newlines=True flag for the markdown renderer, removing the extra newlines in paragraphs on confluence. The markdown standard ignores newlines in paragraphs (as HTML does) but Confluence renders them anyway.

It also adds the ability to link to other documents like mkdocs supports. It does, however, tightly couple the older version of mistune that md2cf uses.