Skip to content

Twisty/accordion support/implementation in MD #26

@SteveS-Cpub

Description

@SteveS-Cpub

This is more of a feature request, but could marked-it-cli support putting markdown elements into HTML elements, specifically into <details> tags to create twisties/accordions in our documentation? In concert with #includes, if we embed an includes today, it shows up, but without inherits none of the formatting:

<details>
<summary>Twisty label</summary>
#include "topic.md"
</details>

Currently, adding hardcoded Markdown within these elements doesn't work either (as in the following example, but also including other variants of <p> placement, or even without <p> tags):

<details>
<summary>Twisty label</summary>
<p>

## title

content

</p>
</details>

We're looking to import content into a collapsible view while retaining our MD source.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions