hagenburger / pimd

PIMD – Processing Instructions for Markdown
https://hagenburger.github.io/pimd-docs/
MIT License
20 stars 5 forks source link

Allow RegEx and Strings for Showmore plugin #85

Open hagenburger opened 5 years ago

hagenburger commented 5 years ago

Currently the Showmore plugin accepts ranges (= from line X to line Y).

In future, it should also support RegEx and Strings like the Highlight plugin. For example:

```html +shomore=/value=".+"/
<input class="my-class" value="Lorem ipsum">

Should look like:

```html
<input class="my-class" ···>

On click, the ··· button should reveal value="Lorem ipsum".

Further reading: