In some cases, it can be useful to hide text (as opposed to markdown) in notebooks when certain details may interrupt the flow of one’s main points. The analog in a static document would be a footnote. Is there a way to hide or collapse text in Pluto so that readers can optionally access certain information if desired?
I tried adding html with @htl
, but it would not respond to a click. Here is the code.
I think one of the issues is that I need to return something in the @htl
block, but its not clear to me what should be returned. I tried coll
and document
without success.
I came across details(md""" """)
. I think this should suffice for my purposes.
2 Likes