class TUI::Markdown::Table

Overview

#header/#rows cells are already inline-parsed (a cell may itself carry emphasis/code styling); #aligns reuses the existing Align enum (term.cr) rather than inventing a parallel one.

Defined in:

tui/markdown/block.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(header : Array(Array(InlineRun)), rows : Array(Array(Array(InlineRun))), aligns : Array(Align)) #

[View source]

Instance Method Detail

def aligns : Array(Align) #

[View source]
def aligns=(aligns : Array(Align)) #

[View source]
def header : Array(Array(InlineRun)) #

[View source]
def header=(header : Array(Array(InlineRun))) #

[View source]
def rows : Array(Array(Array(InlineRun))) #

[View source]
def rows=(rows : Array(Array(Array(InlineRun)))) #

[View source]