File tree 1 file changed +20
-0
lines changed
1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -7734,6 +7734,26 @@ new paragraph~~.
7734
7734
7735
7735
</div>
7736
7736
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
+
7737
7757
## Links
7738
7758
7739
7759
A link contains [link text] (the visible text), a [link destination]
You can’t perform that action at this time.
0 commit comments