Multiplexing Parser Demo

x
 
1
<html>
2
  <body style="<<magic>>">
3
    <h1><< this is not <html >></h1>
4
    <<
5
        multiline
6
        not html
7
        at all : &amp; <link/>
8
    >>
9
    <p>this is html again</p>
10
  </body>
11
</html>
12

Demonstration of a multiplexing mode, which, at certain boundary strings, switches to one or more inner modes. The out (HTML) mode does not get fed the content of the << >> blocks. See the manual and the source for more information.

Parsing/Highlighting Tests: normal, verbose.