Skip to main content

Mkdocs Markdown includer plugin.

Project description

mkdocs-include-markdown-plugin

Mkdocs Markdown includer plugin.

Status

PyPI Tests Coverage status

Installation

pip install mkdocs-include-markdown-plugin

Documentation

Setup

Enable the plugin in your mkdocs.yml:

plugins:
  - include-markdown

Directives

This plugin provides two directives, one to include markdown files and another to include files of any type. Paths of included files can be absolute or relative to the path of the file that includes them:

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 the content of a file.

Example
```yaml
{% include "../examples/github-minimal.yml" %}
```

Acknowledgment

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mkdocs_include_markdown_plugin-1.0.0.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file mkdocs_include_markdown_plugin-1.0.0.tar.gz.

File metadata

  • Download URL: mkdocs_include_markdown_plugin-1.0.0.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for mkdocs_include_markdown_plugin-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4c2e53f2d504e3de0d6c9fecf1da63597453a3ebd7f34bb118c84fbf4a8d57ce
MD5 02f46d106a903c29aaee02da723cfe90
BLAKE2b-256 56555f979a1e7824ebea18b8e42bbb20577fc8f250606e9a061b3428e393c6e0

See more details on using hashes here.

File details

Details for the file mkdocs_include_markdown_plugin-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: mkdocs_include_markdown_plugin-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6

File hashes

Hashes for mkdocs_include_markdown_plugin-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5143312d4aa99dfbfb40bab04ea193928f8142ea8d02f64a52e55bf9d6b61b58
MD5 589108479fc7d884cc8f5440159ed4f6
BLAKE2b-256 4b5f5672ea5e143ab1e21a9ca546fbd407b2ef90b82d2d70ad1aad7b2d0d66ac

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page