class

Obelisk::HTMLFormatter

Inherits Obelisk::Formatter < Reference < Object

HTML formatter

Constructors

new(with_classes : Bool = false, class_prefix : String = "", standalone : Bool = false, with_line_numbers : Bool = false, line_number_start : Int32 = 1, tab_width : Int32 = 4, highlight_lines : Set(Int32) | Nil = nil, line_anchors : Bool = false, line_numbers_in_table : Bool = false, wrap_long_lines : Bool = false, use_css_variables : Bool = false)
Source

Instance methods

css(style : Style) : String

Generate CSS for the given style

Source
format(tokens : TokenIterator, style : Style, io : IO) : Nil
Source
name
Source
name=(name : String)
Source