aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <[email protected]>2023-12-05 09:38:47 -0800
committerJohn MacFarlane <[email protected]>2023-12-05 09:38:47 -0800
commitfe351f1fd5f12cb043bd6996f3fa650af7846832 (patch)
tree44daaf335854701085c8e90401ef1bfeb2292021 /test
parent64bc8ab9c261e7844f3e991a5e6f538bb3564832 (diff)
Fine-tuning on alerts.
Added a test to show that we can convert smoothly between gfm, rst, and asciidoc alerts.
Diffstat (limited to 'test')
-rw-r--r--test/command/alerts.md29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/command/alerts.md b/test/command/alerts.md
new file mode 100644
index 000000000..fe70e6e4e
--- /dev/null
+++ b/test/command/alerts.md
@@ -0,0 +1,29 @@
+```
+% pandoc -f rst -t gfm
+.. note::
+ This is my note.
+^D
+> [!NOTE]
+> This is my note.
+```
+
+```
+% pandoc -f gfm -t rst
+> [!WARNING]
+> Be careful!
+^D
+.. warning::
+
+ Be careful!
+```
+
+```
+% pandoc -f gfm -t asciidoc
+> [!TIP]
+> A tip.
+^D
+[TIP]
+====
+A tip.
+====
+```