skillfed

mkdocs-table-reader-plugin

MkDocs plugin to directly insert tables from files into markdown.

mkdocs-table-reader-plugin v3.1.0 234.4K downloads/30d#9,022 on PyPI158
Permissive license MIT AGING released

What it is and what it does

mkdocs-table-reader-plugin extends MkDocs with a template tag system that reads tabular data from external files and renders them as markdown tables inline. Instead of manually copying table content into your documentation, you reference the file directly—the plugin handles parsing CSV, JSON, Excel, YAML, TSV, and other formats, then inserts the rendered table into the page at build time.

The plugin depends on mkdocs, pandas, tabulate, and PyYAML to handle file reading and formatting. It integrates with MkDocs' plugin system and is compatible with mkdocs-macros-plugin for more advanced automation like filtering or batch-inserting directories of tables. The workflow is useful for keeping documentation synchronized with live data files or for building reproducible reports where tables update automatically when source files change.

Use it for:

  • Keep documentation tables synchronized with CSV or Excel source files without manual copy-paste
  • Build reproducible reports where tables update automatically when underlying data files change
  • Insert multiple tables from different file formats into a single MkDocs page using template tags
  • Combine with mkdocs-macros-plugin to filter or transform tables before rendering them in documentation
  • Generate data-driven documentation where tables are sourced from JSON or YAML configuration files

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A MkDocs plugin that inserts tables from external files (CSV, JSON, Excel, YAML, and others) directly into markdown pages using template tags like `{{ read_csv('table.csv') }}`.

Yes, if you maintain MkDocs documentation that references external data files and want to keep tables synchronized automatically. The low install friction and permissive license make it a straightforward addition. However, note the aging maintenance status (715 days since last release)—suitable for stable workflows but not for projects requiring active upstream support or frequent updates to MkDocs compatibility.

Install

mkdocs-table-reader-plugin on PyPI

pip

pip install mkdocs-table-reader-plugin

uv

uv add mkdocs-table-reader-plugin

poetry

poetry add mkdocs-table-reader-plugin

Installing mkdocs-table-reader-plugin

Before you install

Low install friction; pure Python wheel with straightforward dependencies. Maintenance status is aging—last release was 715 days ago, though the repository remains active with a recent commit on 2025-04-19. Suitable for stable documentation workflows but not under active development.

License in practice

MIT license (permissive) means you can use, modify, and distribute this plugin freely in both open and closed projects with minimal restrictions.

Quickstart

pip install mkdocs-table-reader-plugin

Add to mkdocs.yml:
plugins:
  - search
  - table-reader

In markdown:
{{ read_csv('path_to_table.csv') }}

Requires MkDocs to be installed and configured; file paths are resolved relative to mkdocs.yml, docs/ directory, or the markdown source file.

Verify before relying

  • Whether all advertised table formats (feather, fwf, etc.) are equally well-tested given the aging maintenance status
  • Performance characteristics when reading large table files or many tables in a single build
  • Compatibility with recent MkDocs versions beyond what the classifiers declare

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8)
Install friction low — pure-Python wheel
Runtime dependencies 4 — mkdocs, pandas, tabulate, PyYAML
Maintenance aging — 715 days since the last release
Last repo commit
First released
Downloads 234,397/month — #9,022 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: mkdocs_table_reader_plugin-3.1.0-py3-none-any.whl

Keywords: mkdocs, plugin

License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

mkdocs table insertion pluginembed csv in markdownread external tables mkdocsmarkdown table from filemkdocs data file readerdynamic table generation markdowncsv to markdown plugin
mkdocs-plugindata-driven-docstable-embedding

More Documentation packages

docutils

Docutils converts plaintext documentation in…

unclear · top 1,000 on PyPI

Sphinx

Sphinx generates professional documentation…

permissive · top 1,000 on PyPI

griffe

Griffe extracts the complete structure and…

permissive · top 1,000 on PyPI

sphinxcontrib-serializinghtml

A Sphinx extension that outputs documentation…

permissive · top 1,000 on PyPI

alabaster

Alabaster is a clean, responsive Sphinx theme…

permissive · top 1,000 on PyPI

sphinxcontrib-htmlhelp

A Sphinx extension that generates HTML help…

permissive · top 1,000 on PyPI

mkdocs-macros-plugin

Extends MkDocs with Jinja2 templating to use…

permissive · top 5,000 on PyPI

mkdocs-video

A MkDocs plugin that embeds videos in…

permissive · top 15,000 on PyPI

mkdocs-plugin-inline-svg

A MkDocs plugin that replaces SVG image…

permissive · top 15,000 on PyPI

mkdocs-markdownextradata-plugin

Injects mkdocs.yml extra variables into…

permissive · top 15,000 on PyPI

mkdocs-meta-manager

A MkDocs plugin that automatically applies meta…

permissive · top 5,000 on PyPI

mkdocs-include-markdown-plugin

A MkDocs plugin that includes content from…

permissive · top 15,000 on PyPI

markdown-table

Generates Markdown-formatted tables from Python…

permissive · top 15,000 on PyPI

mkdocs-embed-external-markdown

A MkDocs plugin that fetches and embeds…

permissive · top 15,000 on PyPI

mkdocs-print-site-plugin

MkDocs plugin that generates a combined print…

permissive · top 15,000 on PyPI

mkdocs-task-collector

A MkDocs plugin that scans Markdown files for…

permissive · top 15,000 on PyPI