diff options
| author | John MacFarlane <[email protected]> | 2023-12-05 16:52:49 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2023-12-05 16:52:49 -0800 |
| commit | dbbd70d4f8f5bc21fbb779a177a0a4901c02b9fb (patch) | |
| tree | 20935eec5fe55249d03da15fa199b056c1c5a711 /test | |
| parent | fe351f1fd5f12cb043bd6996f3fa650af7846832 (diff) | |
Add tests for alerts gfm <-> docbook.
Diffstat (limited to 'test')
| -rw-r--r-- | test/command/alerts.md | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/test/command/alerts.md b/test/command/alerts.md index fe70e6e4e..b11b60460 100644 --- a/test/command/alerts.md +++ b/test/command/alerts.md @@ -27,3 +27,29 @@ A tip. ==== ``` + +``` +% pandoc -f gfm -t docbook +> [!TIP] +> A tip. +^D +<tip> + <title>Tip</title> + <para> + A tip. + </para> +</tip> +``` + +``` +% pandoc -f docbook -t gfm +<tip> + <title>Tip</title> + <para> + A tip. + </para> +</tip> +^D +> [!TIP] +> A tip. +``` |
