summaryrefslogtreecommitdiff
path: root/data
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 /data
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 'data')
-rw-r--r--data/templates/default.ms4
1 files changed, 4 insertions, 0 deletions
diff --git a/data/templates/default.ms b/data/templates/default.ms
index d1e5f5476..31a7f698f 100644
--- a/data/templates/default.ms
+++ b/data/templates/default.ms
@@ -11,6 +11,10 @@
.ce
\l'20'
..
+$if(highlighting-macros)$
+.\" * Syntax highlighting macros
+$highlighting-macros$
+$endif$
.\" **** Settings *************************************************
.\" text width
.nr LL 5.5i