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.10.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

sphinx_markdown_tables-0.0.10-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sphinx-markdown-tables-0.0.10.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.27.0 CPython/3.6.8

File hashes

Hashes for sphinx-markdown-tables-0.0.10.tar.gz
Algorithm Hash digest
SHA256 a8047eea1375206bec91bf425fd8cad04a8a039047039953235b20b1a70cbe21
MD5 7ec897096d35c7ca292d5655e4591050
BLAKE2b-256 e08c4c1c5f0cdfe64f57f00835d0edef149edea36862bbff5940dbb61aa2ee6a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sphinx_markdown_tables-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.9.1 tqdm/4.27.0 CPython/3.6.8

File hashes

Hashes for sphinx_markdown_tables-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 64ec956f13606e175e77d1db0edbbcfece40e2bd58b02f59d5cce223ef94a0b4
MD5 873859218726af1737deda77947bec75
BLAKE2b-256 3c832b318fcc45da90fa235682c89f305f3b94f4c1025642a378db9823a1c247

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