File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -7734,6 +7734,26 @@ new paragraph~~.
77347734
77357735</div>
77367736
7737+ <div class="extension">
7738+
7739+ ## Spoiler text (extension)
7740+
7741+ Swift-cmark GFM provides the `spoiler` extension, providing an additional emphasis
7742+ type for text that should be hidden and revealed by user interaction.
7743+
7744+ Spoiler text is wrapped in two pipes (`|`).
7745+
7746+ As the use of spoiler text depends on user interaction, GFM only emits a generic
7747+ `<span>` tag that must be styled by the client.
7748+
7749+ ```````````````````````````````` example spoiler
7750+ Spoiler alert: ||Hello, world!||
7751+ .
7752+ <p>Spoiler alert: <span class="spoiler">Hello, world!</span></p>
7753+ ````````````````````````````````
7754+
7755+ </div>
7756+
77377757## Links
77387758
77397759A link contains [link text] (the visible text), a [link destination]
You can’t perform that action at this time.
0 commit comments