markdown-it-collapsible icon indicating copy to clipboard operation
markdown-it-collapsible copied to clipboard

Plugin fails to parse `++>` into `<details>` with `open` state

Open RenegadeScooter opened this issue 2 months ago • 0 comments

I am learning to use Eleventy and this looked like a useful plugin for its markdown-it parser so I added it to my project. Line from my package.json: "markdown-it-collapsible": "^2.0.2",


Copied this code from the README

++> Click me!
Hidden text
++>

and pasted it into my Markdown document, only for it to fail to parse as shown image

<p>++&gt; Click me!
Hidden text
++&gt;</p>

However, changing the > to + like this

+++ Click me!
Hidden text
+++

resulted in a <details> element without an open default state as normal image

<details>
<summary><span class="details-marker"></span>Click me!</summary><p>Hidden text</p>
</details>

What's going on here?

RenegadeScooter avatar Apr 26 '24 04:04 RenegadeScooter