Documentation ¶
Overview ¶
Package html is an output filter to generate an html chunk wrapped in a div to be highlighted by CSS. A sample output is
<div class="highlight"><pre><span class="name ntag"><root></span> <span class="name ntag"><child</span> <span class="name ntag">/></span> <span class="name ntag"></root></span> </pre></div>
Which requires a suitable CSS file.
Note that this package does not export any symbols, as it actively registers at the process package with
processor.RegisterOutputFilter("html", Render)
in the init function. Render
(f filter) Render(t processor.Tokenizer) string
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.