Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A markdown extension for defining collapsible areas

Project description

Allow the definition of collapsible blocks in Markdown.

Generated code is designed for compatibility with Bootstrap.

Based on the official Admonition extension.


Blocks starting with <<< will start collapsed, blocks starting with >>> will start uncollapsed.


<<< [<Panel Id>] "<Panel Title>"



>>> [<Panel Id>] "<Panel Title>"



<<< "Collapsible stuff"
    * Stuff 1
    * Stuff 2
    * Stuff 3
    * Stuff 4


<div class="panel panel-default panel-collapsible">
    <div class="panel-heading">
        <a data-toggle="collapse" data-target="#collapse1" />
    <div id="collapse1" class="panel-body collapse in">
            <li>Stuff 1</li>
            <li>Stuff 2</li>
            <li>Stuff 3</li>
            <li>Stuff 4</li>

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mdx_collapse, version 0.1.0
Filename, size File type Python version Upload date Hashes
Filename, size mdx_collapse-0.1.0.tar.gz (7.1 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page