markdown-include
markdown-include copied to clipboard
Provides syntax for Python-Markdown which allows for the inclusion of the contents of other Markdown documents.
The release notes for 0.7.0 say it's been modified to work with 3.4 of markdown, making it incompatible with anything less than 3.0, but when I look in `setup.cfg` with...
Currently there is only a wheel on PyPI for version 0.7.0, but no sdist. For packaging this project on conda-forge it would be nice to have an sdist as well...
The goal of this PR is to enable including only a specific section of a file, as specified by the header.
I'm writing a user guide and it would be nice to include section of the external file. Either by specifying line numbers or named section. I previously used asciidoc include...
✨ Add support for specifying lines and line ranges. For example: ```Markdown {!filename!lines=1 3 8-10 2} ``` --- Thanks for this extension! It has been very useful, I use it...
Consider the following situation: ```markdown === "source" ` ` `python {!my_source.py!} ` ` ` ``` and ```python print('Hello, world!') ``` Here we'd expect ```markdown === "source" ` ` `python print('Hello,...
In my mkdocs project, I am using markdown-include and mkdocs-material. Let a top-level file be: ```markdown # Some heading {!tables/Some_Table.md!} ``` And let *table/Some_Table.md* be: ```markdown The following table shows...
With inheritHeadingDepth being true. Let a top-level file be: ```markdown # Some first level heading {!sub/Subsection_1.md!} {!task/Subsection_2.md!} {!task/Subsection_3.md!} ``` And let each *task/Subection_X.md* be: ```markdown # Some heading Some text....
feat(multiple includes): add support for multiple includes on single line - added tests to verify changes https://github.com/cmacmackin/markdown-include/issues/11
Fixes the following warning when using Python-Markdown 3.x: `DeprecationWarning: The 'md_globals' parameter of 'markdown_include.include.MarkdownInclude.extendMarkdown' is deprecated.` Changelog mentioning the signature change: https://python-markdown.github.io/change_log/release-3.0/#md_globals-keyword-deprecated-from-extension-api