From 1c84a035098ab868db718b56f3f135603144d65a Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sat, 1 Apr 2017 17:07:39 +0200 Subject: 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. --- test/writer.ms | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/writer.ms') 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 -- cgit v1.2.3