diff options
| author | John MacFarlane <[email protected]> | 2025-12-27 23:10:22 -0700 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2025-12-27 23:10:22 -0700 |
| commit | 6956176c193538cac65d1d404da0a05c8fc674c3 (patch) | |
| tree | aebb32be19005e892ddcc70441a6c024074c2d79 /test/command/11362.md | |
| parent | d52e40d17944a3abc7a8523b9f63e999526d082a (diff) | |
AsciiDoc writer: use doubled delims in more contexts.
Also escape the `#` character.
Closes #11362.
An alternative solution, raised in #11362, would be to
rely less on escaping and simply always use doubled delimiters.
However, there would still be a need for escaping, since one
might use a literal `##` (for example)>
Diffstat (limited to 'test/command/11362.md')
| -rw-r--r-- | test/command/11362.md | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/command/11362.md b/test/command/11362.md new file mode 100644 index 000000000..9e6c22133 --- /dev/null +++ b/test/command/11362.md @@ -0,0 +1,17 @@ +``` +% pandoc -f markdown -t asciidoc +This is a _test_[^1]. + +And yet another **one**[^1]. + +We can also try to write #hashtags [this]{.test}. + +[^1]: Test footnote. +^D +This is a __test__footnote:[Test footnote.]. + +And yet another **one**footnote:[Test footnote.]. + +We can also try to write ++#++hashtags [.test]#this#. + +``` |
