Wolfspyre Labs ๐บ๐ฅ๐ฌ/ Snippits & Exemplars/ WolfspyreLabs Exemplars/ WolfspyreLabs Shortcodes/ Spoiler/ Spoiler 🐺 spoiler Obfuscate some content behind a spoiler blob. {{< spoiler >}} THING {{< /spoiler >}} The spoiler shortcode uses a ::before css element to overlay a black segment atop the .Inner content. The content is displayed after the users’ mouse hovers over the resource for >1s as defined by the css. Parameters # md Boolean (Default: false) This (if specified) will switch the rendering of .Inner From: .Inner | safeHTML To: .Inner | markdownify |htmlUnescape|safeHTML Examples #I’m curious as to what will happen if I …. Do a thing? … But I donโt really know? Do multi-line things work? {{< spoiler >}} THING do multi-line md strings work? {{< /spoiler >}} THING do multi-line `md` strings work? {{< spoiler md=true >}} THING do multi-line md strings work? {{< /spoiler >}} THING do multi-line md strings work? {{% spoiler md=true %}} THING do multi-line md strings work? {{% /spoiler %}} THING do multi-line md strings work? link to where I found this shortcode1 Do multi-line things work? [link to where I found this shortcode][source][^source] Do multi-line things work? [link to where I found this shortcode][source][^source] Do multi-line things work? Alex Kingston… River… ..You…Are…Dying https://oostens.me/posts/hugo-inline-spoiler-shortcode/ ↩︎