module Rouge module Formatters class HTMLPygments < Formatter def initialize(inner, css_class='codehilite') @inner = inner @css_class = css_class end def stream(tokens, &b) yield %(
)
@inner.stream(tokens, &b)
yield "
"
end
end
end
end