popdown rendering in markdown for posts (like the table of contents) #658
-
Why does the markdown not render the popdown like feature.
which behaves like this: my popdownsome codefenced code.This is very useful when we want to hide large chunks of code and display only when the person reading wants to open a particular block. The popdown should be possible with any kind of element - code, image, video, quotes, lists etc. Here is a link: gist |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That is beacause Hugo by default does not allow any HTML content to be rendered as it is. Either user the included |
Beta Was this translation helpful? Give feedback.
That is beacause Hugo by default does not allow any HTML content to be rendered as it is.
Either user the included
collapse
shortcode or search Hugo docs/Community to enable HTML rendering (something like unsafe=true)