Docsify: Add the ability to fold code

Created on 15 Oct 2020  Â·  1Comment  Â·  Source: docsifyjs/docsify




Feature request

Add the ability to fold code, can add an expanded icon to the right
image

What problem does this feature solve?

Page code is too much to expand when you don't need it

What does the proposed API look like?

maybe a plugin?

How should this be implemented in your opinion?

just add a config

Are you willing to work on this yourself?

I will try If you have the time

question

Most helpful comment

Actually,I guess you can use <details> tag to do this.

<details>
<summary>tab name</summary>
your markdown code block.
</details>


tab name
your markdown code block.

>All comments

Actually,I guess you can use <details> tag to do this.

<details>
<summary>tab name</summary>
your markdown code block.
</details>


tab name
your markdown code block.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anikethsaha picture anikethsaha  Â·  3Comments

smlbiobot picture smlbiobot  Â·  5Comments

nothingrandom picture nothingrandom  Â·  5Comments

randName picture randName  Â·  4Comments

SidVal picture SidVal  Â·  3Comments