Skip to main content

mkdocs-pivot-table

A lightweight MkDocs plugin that renders interactive, sortable, and filterable comparison tables directly in your documentation.

Features

  • Sortable columns – Click any column header to sort ascending/descending
  • Drag-to-reorder – Drag column headers to change order
  • State preservation – View state is saved to the URL (shareable links)
  • Reset button – Restore the original sorted order
  • Zero config – Works out of the box with minimal setup

Installation

Add to your mkdocs.yml:

plugins:
  - mkdocs_pivot_table

Then enable the plugin in your site config:

# mkdocs.yml
plugins:
  - mkdocs_pivot_table

Usage

Place a table in your markdown using the [pivot-table] wrapper:

[pivot-table]
| Feature | npm | pnpm | Bun | pip | uv |
|---------|-----|------|------|-----|----|
| Speed   | Slow | Fast | Fastest | Slow | Fast |
| Dedup  | No  | Yes  | Yes   | No  | Yes  |
| Runtime| No  | Yes  | Yes   | No  | Yes  |
| Maturity| High| High | Medium| High| Medium|

[reset-pivot]

The table will render as an interactive <table> with sorting and dragging enabled.

Requirements

  • MkDocs ≥ 1.5.0
  • Beautiful Soup 4
  • PyJS (for mermaid.js integration)

License

MIT

Metadata

Release files for mkdocs-pivot-table 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mkdocs-pivot-table 0.2.0
File Size Uploaded
mkdocs_pivot_table-0.2.0.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for mkdocs-pivot-table 0.2.0
File Interpreter ABI Platform
mkdocs_pivot_table-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 14.5 kB

Release files / mkdocs_pivot_table-0.2.0.tar.gz

Download URL mkdocs_pivot_table-0.2.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
64213847784ba12b185dd2becec2f69de1a4a9380fe60603dcefc0f0a3bc3925
BLAKE2b-256 checksum
How to use checksums
721305a9a1c6cf11f2c4bd63e7139783f972e73bc17d4d26fccf5dd80b4aba5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / mkdocs_pivot_table-0.2.0-py3-none-any.whl

Download URL mkdocs_pivot_table-0.2.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d93859118fddf44e2a42dffe4c8f2dc3e2560fcf95aa56b7dc7851e6ea245704
BLAKE2b-256 checksum
How to use checksums
d4713a71ad39c1245ce2155b41375332e922eedfc77662855315395b4607b469
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release history Release notifications | RSS feed

0.4.0

1 release file

This release

0.2.0 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page