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.1.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.1.0
File Size Uploaded
mkdocs_pivot_table-0.1.0.tar.gz 6.9 kB Details

Built distribution (wheel)

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

Total release size: 14.5 kB

Release files / mkdocs_pivot_table-0.1.0.tar.gz

Download URL mkdocs_pivot_table-0.1.0.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
98f6c53705d810eaa6c92d1f81953281a4784ae97d8824ac23bf2d2a224fac21
BLAKE2b-256 checksum
How to use checksums
1d646d64cc34fa084a7d867366b7d3d7ad2cfe8e6b2ff612f539d6224e096670
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.1.0-py3-none-any.whl

Download URL mkdocs_pivot_table-0.1.0-py3-none-any.whl
Size 7.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef6bc11c9a44b4ab6318c690d650c6cdf444177811fd49e4bbbb3e02c5442603
BLAKE2b-256 checksum
How to use checksums
8c8878992da64febac98fea8bb8dcb806aaa7f2f8436e44bdd2989be2e6108fc
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

0.2.0

2 release files

This release

0.1.0 This release

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