Collapse Extension for Python-Markdown
Allow the definition of collapsible blocks in Markdown.
Generated code is designed for compatibility with Bootstrap.
Based on the official Admonition extension.
Usage
Blocks starting with <<< will start collapsed, blocks starting with >>> will start uncollapsed.
Syntax:
<<< [<Panel Id>] "<Panel Title>"
Paragraph1
Paragraph2
or
>>> [<Panel Id>] "<Panel Title>"
Paragraph1
Paragraph2
Example
<<< "Collapsible stuff"
* Stuff 1
* Stuff 2
* Stuff 3
* Stuff 4
becomes
<div class="panel panel-default panel-collapsible">
<div class="panel-heading">
<a data-toggle="collapse" data-target="#collapse1" />
</div>
<div id="collapse1" class="panel-body collapse in">
<ul>
<li>Stuff 1</li>
<li>Stuff 2</li>
<li>Stuff 3</li>
<li>Stuff 4</li>
</ul>
</div>
</div>
Metadata
Release files for mdx_collapse 0.1.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 | |
|---|---|---|---|---|
| mdx_collapse-0.1.0.tar.gz | 7.1 kB | Without provenance | Details |
Release files / mdx_collapse-0.1.0.tar.gz
| Download URL | mdx_collapse-0.1.0.tar.gz |
|---|---|
| Size | 7.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6466c93e1a5039b04a239f52b663af388a9b4f4c48094b26d37a0570063326b1
|
|
BLAKE2b-256 checksum How to use checksums |
e71d13e0dbc5f5ee1845e5e6c3a4c9661b0b52014c9ddf89fddd0c552eecc372
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for mdx_collapse 0.1.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.