From fe351f1fd5f12cb043bd6996f3fa650af7846832 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Tue, 5 Dec 2023 09:38:47 -0800 Subject: Fine-tuning on alerts. Added a test to show that we can convert smoothly between gfm, rst, and asciidoc alerts. --- test/command/alerts.md | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 test/command/alerts.md (limited to 'test/command') 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. +==== +``` -- cgit v1.2.3