https://github.com/ryanfox/sphinx-markdown-tables
A markdown table plugin for Sphinx
https://github.com/ryanfox/sphinx-markdown-tables
Last synced: 4 months ago
JSON representation
A markdown table plugin for Sphinx
- Host: GitHub
- URL: https://github.com/ryanfox/sphinx-markdown-tables
- Owner: ryanfox
- License: gpl-3.0
- Created: 2018-05-31T03:03:38.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-07-29T00:34:22.000Z (almost 4 years ago)
- Last Synced: 2025-10-21T20:01:07.009Z (8 months ago)
- Language: Python
- Size: 26.4 KB
- Stars: 59
- Watchers: 4
- Forks: 15
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# sphinx-markdown-tables
A [Sphinx](http://www.sphinx-doc.org/en/master/) extension for rendering markdown tables.
Sphinx supports markdown via [Recommonmark,](https://github.com/rtfd/recommonmark) which does not support tables. This
extension provides them.
It renders markdown tables as HTML, as defined by [python-markdown](https://python-markdown.github.io/)
## Installation
pip install sphinx-markdown-tables
## Usage
### Quick version
Add `sphinx_markdown_tables` to `extensions` in `conf.py`, like so:
extensions = [
'sphinx_markdown_tables',
]
### Longer version
Sphinx needs to be configured to use markdown. First, you need `recommonmark`:
pip install recommonmark
In `conf.py`, configure `source_parsers` and `source_suffix`:
source_parsers = {
'.md': 'recommonmark.parser.CommonMarkParser',
}
source_suffix = ['.rst', '.md']
Once Sphinx is configured appropriately, add `sphinx_markdown_tables` to `extensions`, like so:
extensions = [
'sphinx_markdown_tables',
]
For more information on Sphinx and markdown, see the
[Sphinx documentation.](http://www.sphinx-doc.org/en/master/usage/markdown.html)
## License
This project is available under the GPLv3 license. For other licensing arrangements contact
[Ryan Fox.](https://foxrow.com)