Module
marksy/tables
src/marksy/tables.pookaA table is a paragraph that has kept its columns in order. Split pipes before parsing inline markup: an escaped pipe belongs to its cell even inside code, while an unescaped pipe always marks the next column.
API reference
parse(
source: String,
definitions: List(links.Definition),
options: syntax.Options,
span: ast.Span
) -> Option(ast.Block)
INFERRED
fn(String, List(marksy/links.Definition), marksy/syntax.Options, marksy/ast.Span) -> Option(marksy/ast.Block)Try the header and delimiter row together. Unequal column counts leave the original paragraph alone; body rows are padded or truncated to that width.
cells(source: String) -> List(String)
INFERRED
fn(String) -> List(String)Strip optional outside pipes after trimming, preserving escaped pipes as literal cell text. Runs of backslashes retain their pairwise meaning.