Skip to main content

A Sphinx extension for rendering tables written in markdown

Project description

sphinx-markdown-tables

A Sphinx extension for rendering markdown tables.

Sphinx supports markdown via Recommonmark, which does not support tables. This extension provides them.

It renders markdown tables as HTML, as defined by python-markdown

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.

License

This project is available under the GPLv3 license. For other licensing arrangements contact Ryan Fox.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sphinx-markdown-tables-0.0.15.tar.gz (15.3 kB view details)

Uploaded Source

Built Distribution

sphinx_markdown_tables-0.0.15-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file sphinx-markdown-tables-0.0.15.tar.gz.

File metadata

  • Download URL: sphinx-markdown-tables-0.0.15.tar.gz
  • Upload date:
  • Size: 15.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.5

File hashes

Hashes for sphinx-markdown-tables-0.0.15.tar.gz
Algorithm Hash digest
SHA256 722b70a3a14156b6777cf04920d015215eb65b9dfde5cc72f430763ff5e84173
MD5 02447b3fd7f905df4dca03290b07c16e
BLAKE2b-256 3c73ba113dd36f371a8ad56219e2486b88ce1ed3cc5e7bf3e4e3811c4d09582b

See more details on using hashes here.

File details

Details for the file sphinx_markdown_tables-0.0.15-py3-none-any.whl.

File metadata

  • Download URL: sphinx_markdown_tables-0.0.15-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.2.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.9

File hashes

Hashes for sphinx_markdown_tables-0.0.15-py3-none-any.whl
Algorithm Hash digest
SHA256 24a37662d86ee8bceb7d4f7003df0b25bc52401369d1ddc40d13ae7b58697031
MD5 74471682a2a84f3ab8cefbb4310ca0c3
BLAKE2b-256 29a39ddaa7f4d391068a68def381ab0b9f6535a364fa26b09d40d40a60d0957c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page