class

Egui::Markdown::Block

Inherits Reference < Object

One parsed block. text carries the STRIPPED content (markers removed); heading level is 1-6, list items keep their number (ordered false → bullet), an image block's text is the URL, alt its alt text, width_px an explicit <img width=…> size and align its horizontal alignment. A table's text holds the rows joined by \n and \x1F (unit separator): first row = header.

Constructors

new(kind : Symbol, text : String = "", level : Int32 = 0, ordered : Bool = false, number : Int32 = 0, alt : String = "", width_px : Float64 | Nil = nil, align : Symbol = :left)
Source

Instance methods

align
Source
kind
Source
level
Source
number
Source
ordered?
Source
text

List items append lazy-continuation lines to their text, so text is mutable.

Source
text=(text : String)

List items append lazy-continuation lines to their text, so text is mutable.

Source
width_px
Source