Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Coffee Ninja

Project description

TORO Toggler Markdown Extension

Content Toggler Markdown extension for TORO Documentation.

Installation

pip install toro-mkdocs-togglers

Usage

To properly use the toggler extension use the following markdown:

||| "TabName1"
    Tab1 content.
||| "TabName2"
    Tab2 content.
|||

The produced HTML from the markdown will be:

<div class="toro-toggler" data-names="TabName1,TabName2">
    <div data-related-divider="TabName1">
        <p>Tab1 content.</p>
    </div>
    <div data-related-divider="TabName2">
        <p>Tab2 content.</p>
    </div>
</div>

To use the toggler extension with a nested toggler use the following markdown:

||| "TabName1"
    /// "NestedTabName1"
        Nested Tab1 content.
    /// "NestedTabName2"
        Nested Tab2 content.
    /// 
||| "TabName2"
    Tab2 content.
|||

The produced HTML from the markdown will be:

<div class="toro-toggler" data-names="TabName1,TabName2">
    <div data-related-divider="TabName1">
        <div class="toro-toggler" data-names="NestedTabName1,NestedTabName2">
            <div data-related-divider="NestedTabName1">
                <p>Nested Tab1 content.</p>
            </div>
            <div data-related-divider="NestedTabName2">
                <p>Nested Tab2 content.</p>
            </div>
        </div>
    </div>
    <div data-related-divider="TabName2">
        <p>Tab2 content.</p>
    </div>
</div>

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 coffee-ninja, version 1.0.47
Filename, size File type Python version Upload date Hashes
Filename, size coffee_ninja-1.0.47-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size coffee-ninja-1.0.47.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page