mkdocs-include-markdown-plugin icon indicating copy to clipboard operation
mkdocs-include-markdown-plugin copied to clipboard

Indented code blocks must be surrounded by blank lines

Open mondeja opened this issue 1 year ago • 0 comments

Just to conform with the Common Mark specfication. Currently we are treating indented code blocks to all the content that is indented with 4 spaces or a tab, but following the spec they should be also surrounded by a blank line. Add this logic to the processor.

That would make right usages of pymdownx.tabbed work with include-markdown, but lazy/incorrect usages (adding a blank line after header) will still be treated as code blocks.

mondeja avatar Apr 12 '24 11:04 mondeja