aboutsummaryrefslogtreecommitdiff
path: root/test/command/macros.md
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-07-18 22:30:05 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-07-18 22:31:03 -0700
commit28cad165179378369fcf4d25656ea28357026baa (patch)
treed94b27ef8175fbdfaee04828bf5b6f64528acd4a /test/command/macros.md
parent5c655e86d5d34172bc5892927309d8dff6023493 (diff)
downloadpandoc-28cad165179378369fcf4d25656ea28357026baa.tar.gz
Markdown writer: prefer using raw_attribute when enabled.
The `raw_attribute` will be used to mark raw bits, even HTML and LaTeX, and even when `raw_html` and `raw_tex` are enabled, as they are by default. To get the old behavior, disable `raw_attribute` in the writer. Closes #4311.
Diffstat (limited to 'test/command/macros.md')
-rw-r--r--test/command/macros.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/command/macros.md b/test/command/macros.md
index 0c91944a1..e3c07e661 100644
--- a/test/command/macros.md
+++ b/test/command/macros.md
@@ -1,5 +1,5 @@
```
-% pandoc -f markdown+latex_macros -t markdown
+% pandoc -f markdown+latex_macros -t markdown+raw_tex-raw_attribute
\newcommand{\my}{\phi}
$\my+\my$
^D
@@ -9,7 +9,7 @@ $\phi+\phi$
```
```
-% pandoc -f markdown-latex_macros -t markdown
+% pandoc -f markdown-latex_macros -t markdown+raw_tex-raw_attribute
\newcommand{\my}{\phi}
$\my+\my$
^D
@@ -70,7 +70,7 @@ x &= y\\\end{aligned}\]
```
```
-% pandoc -f markdown+latex_macros -t markdown
+% pandoc -f markdown+latex_macros -t markdown+raw_tex-raw_attribute
\newcommand{\my}{\phi}
\begin{equation}
\my+\my
@@ -84,7 +84,7 @@ x &= y\\\end{aligned}\]
```
```
-% pandoc -f markdown-latex_macros -t markdown
+% pandoc -f markdown-latex_macros -t markdown+raw_tex-raw_attribute
\newcommand{\my}{\phi}
\begin{equation}
\my+\my
@@ -98,7 +98,7 @@ x &= y\\\end{aligned}\]
```
```
-% pandoc -f markdown+latex_macros -t markdown
+% pandoc -f markdown+latex_macros -t markdown+raw_tex-raw_attribute
\newcommand{\my}{\emph{a}}
\my
^D