Post History
Does a <details> tag stay as raw text inside a code block? As 4 space indented text Raw text: <details><summary>hint</summary>surprise!</details> Rendered as...
#1: Initial revision
Does a details tag stay as raw text inside a code block?
Does a `<details>` tag stay as raw text inside a code block? ### As 4 space indented text Raw text: ```text <details><summary>hint</summary>surprise!</details> ``` Rendered as: <details><summary>hint</summary>surprise!</details> ### In backticks Raw text: ````text ```html <details><summary>hint</summary>surprise!</details> ``` ```` Rendered as: ```html <details><summary>hint</summary>surprise!</details> ``` ### As 4 space indented text with no blank line after the previous paragraph Raw text: ```text Intro text: <details><summary>hint</summary>surprise!</details> ``` Rendered as: Intro text: <details><summary>hint</summary>surprise!</details>