Skip to main content

A Sphinx extension for rendering tables written in markdown

Project description

Build Status Code Coverage

Note:

This is a fork of sphinx-markdown-tables package that works with newer versions of the markdown package.

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 dhubbard-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

dhubbard-sphinx-markdown-tables-0.1.140866.tar.gz (15.1 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file dhubbard-sphinx-markdown-tables-0.1.140866.tar.gz.

File metadata

  • Download URL: dhubbard-sphinx-markdown-tables-0.1.140866.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for dhubbard-sphinx-markdown-tables-0.1.140866.tar.gz
Algorithm Hash digest
SHA256 c91938b01cc9609091c558d3656ed3bb6db8761e0f0cac4c2669b83a3106733d
MD5 582578cedaa29793aca285133b6d0c76
BLAKE2b-256 ec127699535277c8f04677861aeb4dc63acdc30aa47e3d28d8a39444e4a0c92a

See more details on using hashes here.

File details

Details for the file dhubbard_sphinx_markdown_tables-0.1.140866-py3-none-any.whl.

File metadata

  • Download URL: dhubbard_sphinx_markdown_tables-0.1.140866-py3-none-any.whl
  • Upload date:
  • Size: 15.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.3

File hashes

Hashes for dhubbard_sphinx_markdown_tables-0.1.140866-py3-none-any.whl
Algorithm Hash digest
SHA256 de7b9dbddd3577c6dd74fe79e2b818d2f4ba39ccbc98a2252c70da60251a5b0c
MD5 dc4e02516f4bd505cbe1087c9353602f
BLAKE2b-256 230261ba382efc2cae3b7936feddf591a46715fb57f0a2e94d40f12fde8941fe

See more details on using hashes here.

Supported by

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