Markdown grid table extension
A Python-Markdown extension to render grid tables.
Example:
+-------------------+------------------+----------------+
| Header 1 | Header 2 | Header 3 |
+===================+==================+================+
| Cells can span multiple columns | Cells can span |
+--------------------------------------+ multiple rows |
| Text in cells *can be* **formatted** | |
| | |
| > and can contain arbitrary | |
| > multi-line blocks | |
+--------------------------------------+----------------+
Installation
pip install markdown-grids
Usage
import markdown
text = ... # your Markdown source
html = markdown.markdown(text, extensions='grids')
To use with MkDocs, add the following to mkdocs.yml:
markdown_extensions:
- grids
Because whitespace in a grid table is structural, it is not possible to indicate a newline in a cell with two spaces at the end of the line. Two possible solutions to this are:
Licence
markdown-grids is distributed under the terms of the MIT licence.
Metadata
Release files for markdown-grids 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| markdown_grids-1.0.0.tar.gz | 5.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| markdown_grids-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.2 kB
Release files / markdown_grids-1.0.0.tar.gz
| Download URL | markdown_grids-1.0.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bd1d8472649d528348fc91ff58fbbd68b2d0b0e09a6f3ab154cdd786eaf661e3
|
|
BLAKE2b-256 checksum How to use checksums |
f6a687e316f09cb4044214e5ea34b4d6421e41fb3e90bab2a1ecf2137b5a8072
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.25.2
|
Release files / markdown_grids-1.0.0-py3-none-any.whl
| Download URL | markdown_grids-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f45dad17006eab6f9a3f282091cae522a90dc773838f4aea255ca66b73333227
|
|
BLAKE2b-256 checksum How to use checksums |
ba5cd81385c1d24fa73ad9d409505d814dbcaeec233c4a5a9fd5ed45e3d422a5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-httpx/0.25.2
|
Security for markdown-grids 1.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.