sphinx-markdown-tables-0.0.9
توضیحات
A Sphinx extension for rendering tables written in markdown
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | sphinx-markdown-tables-0.0.9 |
| نام | sphinx-markdown-tables |
| نسخه کتابخانه | 0.0.9 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Ryan Fox |
| ایمیل نویسنده | ryan@foxrow.com |
| آدرس صفحه اصلی | https://github.com/ryanfox/sphinx-markdown-tables |
| آدرس اینترنتی | https://pypi.org/project/sphinx-markdown-tables/ |
| مجوز | - |
# 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)
نیازمندی
| مقدار | نام |
|---|---|
| >=3.4 | markdown |
نحوه نصب
نصب پکیج whl sphinx-markdown-tables-0.0.9:
pip install sphinx-markdown-tables-0.0.9.whl
نصب پکیج tar.gz sphinx-markdown-tables-0.0.9:
pip install sphinx-markdown-tables-0.0.9.tar.gz