summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2017-04-01 17:07:39 +0200
committerJohn MacFarlane <jgm@berkeley.edu>2017-04-01 22:05:38 +0200
commit1c84a035098ab868db718b56f3f135603144d65a (patch)
tree9840996ad3e0eb412f427618d2a88879f676e9bc /test
parent1c7f4e97e2dd5a5bc0a4bfb61f4447101ea870de (diff)
Ms writer: added syntax highlighting.
Closes #3547. Macro definitions are inserted in the template when there is highlighted code. Limitations: background colors and underline currently not supported.
Diffstat (limited to 'test')
-rw-r--r--test/writer.ms4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/writer.ms b/test/writer.ms
index 3294e1c8b..a767416d5 100644
--- a/test/writer.ms
+++ b/test/writer.ms
@@ -159,7 +159,7 @@ Code in a block quote:
.nf
\f[C]
sub\ status\ {
-\ \ \ \ print\ \"working\";
+\ \ \ \ print\ \[dq]working\[dq];
}
\f[]
.fi
@@ -198,7 +198,7 @@ Code:
\-\-\-\-\ (should\ be\ four\ hyphens)
sub\ status\ {
-\ \ \ \ print\ \"working\";
+\ \ \ \ print\ \[dq]working\[dq];
}
this\ code\ block\ is\ indented\ by\ one\ tab