Skip to content

myst-contrib/myst-tabulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

myst-tabulator

Turn every table on a MyST page into an interactive Tabulator widget with one directive.

Install

Add to your myst.yml:

project:
  plugins:
    - https://raw.githubusercontent.com/choldgraf/myst-tabulator/main/src/tabulator.mjs

Usage

Put the directive once per page:

:::{tabulator}
:header-filter:
:::

Every <table> in the article body is auto-enhanced, including pandas DataFrame outputs from {code-cell} directives.

See docs/index.md for the full option list and live demos.

Local development

nox -s docs-live   # live server
nox -s docs        # static build

Limitations

  • Tabulator can't parse tables with multi-row headers, colspan, or rowspan.

About

Create interactive, searchable tables in MyST with Tabulator

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors