Tableau Tables gives you way more control
over the tables you create in Markdown documents. tableau-marked
is the version of Tableau
for the Python Markdown processor.
- Headerless tables
- Multiline headers
- Multiple separate headers
- Headers in columns and rows
- Captions
- Layout uses CSS styles and not inline attributes (making it easier to change the style of a whole document)
- Per cell alignment and CSS classes
- Default attributes, both down columns and across rows
- Table-wide classes
- Row and column span
- Continuation lines
Here are some samples.
-
Install the extension:
$ pip install git+https://github.com/tableau-tables/python-tableau-parser
(once things have settled it'll be moved to PyPl.)
-
Add it to your list of Markdown extensions
markdown.markdown(your_documenti, extensions=[..., 'python-tableau-parser', ...])
If you're using mkdocs, simply add it to the list of extensions in
mkdocs.yml
:markdown_extensions: - def_list - python-tableau-parser - pymdownx.superfences : :
Pop on over to the documentation site.