Mkdocs Markdown includer plugin.
Project description
mkdocs-include-markdown-plugin
Mkdocs Markdown includer plugin.
Status
Installation
pip install mkdocs-include-markdown-plugin
Documentation
Setup
Enable the plugin in your mkdocs.yml
:
plugins:
- include-markdown
Directives
This plugin includes two directives, one to include markdown files and another to include files of any type:
include-markdown
Includes markdown file content, optionally using two delimiters to filter the content to include.
- start Delimiter that marks the beginning of the content to include.
- end Delimiter that marks the end of the content to include.
Example
{%
include-markdown "../README.md"
start="<!--intro-start-->"
end="<!--intro-end-->"
%}
include
Includes arbitrary file content.
Example
```yaml
{% include "../examples/github-minimal.yml" %}
```
Acknowledgment
- Joe Rickerby and contributors for giving me the permissions to separate this plugin from the documentation of cibuildwheel.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for mkdocs_include_markdown_plugin-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 87665c8c1b1611bb3d69e919377ef6a311c2a5e6db54ed3f7dcac2eaf9ae70ae |
|
MD5 | 4a3006dc90c6ca0c40c7e8ad040350be |
|
BLAKE2b-256 | 8ae49858948aa64737627833696da9ef1a099e2484a4564e0d3d2c919593835c |
Close
Hashes for mkdocs_include_markdown_plugin-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8b7c6abdf1f9d22d5138f121549615d4678e3b6757095661676b9cca3215a0f0 |
|
MD5 | 7d545bc4cd9ee66274f71a20a7bac020 |
|
BLAKE2b-256 | cd241e904874cd5d6ed8d26eeaad02aabb8d4c50d5500e1fd5dbbd2a98a38913 |