Class Syntax::Convertors::HTML
In: lib/syntax/convertors/html.rb
Parent: Abstract

A simple class for converting a text into HTML.

Methods

convert  

Public Instance methods

Converts the given text to HTML, using spans to represent token groups of any type but :normal (which is always unhighlighted). If pre is true, the html is automatically wrapped in pre tags.

[Validate]