hastyscribe icon indicating copy to clipboard operation
hastyscribe copied to clipboard

Support for detail

Open Hoffenbar opened this issue 3 years ago • 1 comments

I've noticed that <detail><summary>summary</summary>details</detail>-blocks are principally supported, but if I display the generated html document in my browser, there is no icon/marker visible which should signal that there is an expandable block available when clicking on the summary:

image

If I render the same .md with mdbook, I notice almost the same html source code, but it looks like this (same browser!):

image

It would be great, if such a marker would be visible in output generated by hastyScribe. Maybe I'm only missing something? Additionaly, it would be even greater if all collapsed <detail>-blocks would be automatically expanded in case of printing (to pdf via browser). Due to my lack of knowledge about HTML, CSS and JavaScript and the like I'm not sure if it's possible at all.

Hoffenbar avatar Dec 08 '21 21:12 Hoffenbar

Yep, makes sense! I gotta do some tests and update the CSS... when I find some time. Patches welcome of course!

h3rald avatar Dec 12 '21 19:12 h3rald