Markdown writer: avoid unnecessary escapes before intraword _

when `intraword_underscores` extension is enabled.
Closes #6296.
This commit is contained in:
John MacFarlane
2020-04-17 22:42:21 -07:00
parent 0d2b8e3fe1
commit 9a809d4d01
3 changed files with 21 additions and 2 deletions
+14
View File
@@ -0,0 +1,14 @@
```
% pandoc -f native -t markdown
[Str "_hi_there"]
^D
\_hi_there
```
```
% pandoc -f native -t markdown-intraword_underscores
[Str "_hi_there"]
^D
\_hi\_there
```