Hwaro::Content::Processors::TableParser::Table
Represents a parsed table
Constructors
Instance methods
alignments
Sourceheaders
Sourcerows
Sourceto_html(math : Bool = false, flags : InlineMarkdown::Flags | Nil = nil, hooks : RenderHooks::HookRenderContext | Nil = nil) : String
Convert table to HTML. math: true keeps $…$ spans in cells
untransformed for the later math pass (see InlineMarkdown.render).
With a hooks context whose table hook is configured, the stock
markup (plus its thead/tbody sections) is handed to
hooks.render_table instead of returned directly.