mdx_attr_cols
A Markdown extension to add support for Bootstrap 3 rows and columns.
Licensed under the ISC License.
Requirements
The mdx_attr_cols plugin requires the following additional Markdown plugins:
attr_list (built-in to the markdown library)
Installation
Install with pip install mdx_attr_cols.
Documentation
Allows creating bootstrap container rows and columns using section attributes as provided by the attr_list and mdx_outline extensions.
Markdown example:
Header 1 {: cols=6 }
====================
Some paragraphs go here.
Header 2 {: cols=2 }
====================
More paragraphs go here.
Header 3 {: cols=4 }
====================
Final column.
Header 4
========
This is not in a row or column.
Python usage:
md = markdown.Markdown(
extensions=[
'mdx_outline',
'attr_list',
'attr_cols',
],
extension_configs={
'attr_cols': {
'columns': 12,
'attr': 'cols',
'tags': ['section'],
}
})
Configuration options:
columns: Number of columns in a row. Default is 12.
tags: List of HTML tags to look for attributes on. Default is ['sections'].
attr: Name of column width attribute. Default is 'cols'.
Metadata
Release files for mdx_attr_cols 0.2
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 | Actions |
|---|---|---|---|---|
| mdx-attr-cols-0.2.tar.gz | 5.0 kB | Without provenance | Details for mdx-attr-cols-0.2.tar.gz |
Release files / mdx-attr-cols-0.2.tar.gz
| Download URL | mdx-attr-cols-0.2.tar.gz |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88b1f121c2948db8033c968132958b181e6ea221df48a404e5ec05f649252cee
|
|
BLAKE2b-256 checksum How to use checksums |
5d1331394e22a676cee1b39a2e4c662d12c3f454318150e81a57b4666de5d8ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/2.7.15rc1
|
Security for mdx_attr_cols 0.2
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.