$npx skillfedfor your agent

markdown-include

A Python-Markdown extension which provides an 'include' function

With conditionsPyPI Python ModulesReleased Feb 2023278.7K downloads / mocopyleft licensePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — markdown_include-0.8.1-py3-none-any.whl
v0.8.1 · released 2023-02-07 · Python >=3.7 · 1 runtime deps: markdown

Yes, if you need file inclusion in Markdown. The package is stable, has low install friction, no known vulnerabilities, and solves a real problem for modular documentation. The dormant maintenance is a minor concern—monitor compatibility with future markdown releases—but the simple scope suggests it is unlikely to break for routine use.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python >=3.7.
  • Requires markdown to be installed as a runtime dependency.
  • Low friction: pure Python wheel with a single runtime dependency on markdown.

License · maintenance · safety

copyleft license (copyleft) — Licensed under GNU General Public License v3 (GPLv3) (copyleft). Any project that includes this package must comply with GPLv3 terms, including making source code available under the same license if you distribute the combined work.

last release 2023-02-07 (1284 days) · last repo commit 2024-05-10 · 115 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 278,734 downloads/mo, #8,131 on PyPI

Verify before relying

pip install markdown-include

import markdown
html = markdown.markdown(source, extensions=['markdown_include.include'])

# In Markdown files, use: {!filename!}
  • Whether the package works correctly with recent versions of markdown beyond version 3.4.
  • Whether the dormant maintenance status (last commit 2024-05-10, last release 2023-02-07) poses a risk for future Python or markdown compatibility.
Same gist for agents: .md · .json

What it is and what it does

Markdown-Include is a Markdown extension that adds an include mechanism similar to LaTeX's \input or C's #include preprocessor. It lets you reference external files within Markdown using the {!filename!} syntax, and those files are inserted and processed as part of the document before Markdown rendering. This is useful for breaking large documentation into smaller, reusable pieces and for embedding code snippets or shared content blocks.

The extension supports selective line inclusion (via lines=1 3 8-10 syntax), recursive includes, and heading-depth inheritance so that included files' headings adjust to their context. It depends only on markdown and is configured either programmatically or via MkDocs YAML. The package is marked Production/Stable and has been in use since its first release in 2015, though it has entered a dormant maintenance phase.

Use it for

  • Modularize large documentation projects by splitting content into separate files and including them from a main document.
  • Embed code snippets or examples from source files into documentation without manual copy-paste.
  • Reuse common sections (e.g., disclaimers, headers, footers) across multiple Markdown documents.
  • Build MkDocs sites where documentation is composed from multiple source files with a single base_path.
  • Include specific line ranges from files to show only relevant portions of code or configuration.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need file inclusion in Markdown.

The package is stable, has low install friction, no known vulnerabilities, and solves a real problem for modular documentation. The dormant maintenance is a minor concern—monitor compatibility with future markdown releases—but the simple scope suggests it is unlikely to break for routine use.

Install

markdown-include on PyPI

Before you install

Low friction: pure Python wheel with a single runtime dependency on markdown. Maintenance is dormant—last release was 2023-02-07—but the package is marked Production/Stable and has no known vulnerabilities, so it is unlikely to require active updates for basic use.

Requires Python >=3.7. Requires markdown to be installed as a runtime dependency.

License in practice

Licensed under GNU General Public License v3 (GPLv3) (copyleft). Any project that includes this package must comply with GPLv3 terms, including making source code available under the same license if you distribute the combined work.

Quickstart

pip install markdown-include

import markdown
html = markdown.markdown(source, extensions=['markdown_include.include'])

# In Markdown files, use: {!filename!}

Verify before relying

  • Whether the package works correctly with recent versions of markdown beyond version 3.4.
  • Whether the dormant maintenance status (last commit 2024-05-10, last release 2023-02-07) poses a risk for future Python or markdown compatibility.

Package facts

Licensecopyleft license copyleft
Python supportSupports the current Python release >=3.7
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
markdown
MaintenanceDormant 1,284 days since the last release
Last repo commit
First released
Downloads278,734 / month, #8,131 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: GNU General Public License v3 (GPLv3)Programming Language :: PythonTopic :: Internet :: WWW/HTTP :: Site ManagementTopic :: Software Development :: DocumentationTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: FiltersTopic :: Text Processing :: Markup :: HTML

Evidence: markdown_include-0.8.1-py3-none-any.whl

Tags

Capabilities
markdown include filesmarkdown file inclusionmarkdown extension includeinclude directive markdownmarkdown template compositionmarkdown modular documentationmarkdown file embedding
Topics
markdown-extensiondocumentation-tooling
PyPI keywords
Markdowntypesettingincludepluginextension

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “markdown include files”

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also mdx-include · sphinx_mdinclude · markdownlit · mdx-truly-sane-lists · pymdown-extensions · mkdocs-include-markdown-plugin · python-markdown-math · Markdown · strip-markdown · mkdocs-autorefs