From dcb3ab1021b3d61edeb9e760308c677d6fc634b0 Mon Sep 17 00:00:00 2001 From: Sam Liddicott Date: Tue, 26 Jul 2011 18:24:19 +0100 Subject: [PATCH] Add preliminary style for marked up text --- fangle.ts | 29 ++++++++++++++++++++++++++--- 1 file changed, 26 insertions(+), 3 deletions(-) diff --git a/fangle.ts b/fangle.ts index 7a518ca..04b42ca 100644 --- a/fangle.ts +++ b/fangle.ts @@ -117,7 +117,7 @@ > - >>>> + >>|>>|ov-document|>>>>|>>|>>>> <\active*> <\src-comment> @@ -707,6 +707,29 @@ <\active*> <\src-comment> + nf-quote causes literal text to be included in a new language mode - + it's main task is to do some of the horrid nested quoting that some + languages require. + + For instance to match a backslash in a gsub regex in awk requires 4 + back slashes - first quote the single backslash for the regex which + makes two backslashes, and then quote each of those for the string + argument to gsub + + + + >>>> + + >>|\>:>>>> + + ::>> + + >|||>>> + + + + <\active*> + <\src-comment> nf-arg is a public macro. It will be replaced by the value of the chunk argument when the code is extracted. @@ -763,8 +786,8 @@ <\initial> <\collection> - - + + \ No newline at end of file -- 2.11.4.GIT