Class
Rouge::Formatters::HTML
In:
lib/rouge/formatters/html.rb
Parent:
Formatter
Transforms a token
stream
into
HTML
output.
Methods
safe_span
span
stream
Constants
TABLE_FOR_ESCAPE_HTML
=
{ '&' => '&', '<' => '<', '>' => '>', }
Public Instance methods
safe_span
(tok, safe_val)
span
(tok, val)
stream
(tokens) {|span(tok, val) }| ...}
@yield the html output.
[Validate]