X-Ryl669 / grav-plugin-markdown-collapsible

MIT License
3 stars 4 forks source link

Example syntax doesn't match actual syntax needed #2

Closed rodrigogiraoserrao closed 3 years ago

rodrigogiraoserrao commented 3 years ago

The README.md file shows a supposed example usage of the plugin, which makes it look like this would work:

!> Hey
Surprise! I was hidden!
!@

When, in fact, all usages of the plugin need a name in []. Therefore, the usage above would need to be changed to

!>[a]Hey
Surprise! I was hidden!
!@
X-Ryl669 commented 3 years ago

That's a bug. It should have worked.

rodrigogiraoserrao commented 3 years ago

Well, now you know the bug is there :/ I worked around it and ended up not using the plugin, so I did not try to debug it and have no idea what caused the bug.

X-Ryl669 commented 3 years ago

Should be fixed now. Thanks for your report.