7.11. Markdown generation helpers
The MD_BOOST module provides Markdown generation helpers: GitHub-flavored table
rendering with aligned columns and per-column alignment, plus small text utilities
(bold, cell-separator escaping). Numeric cell formatting is left to the caller (the
"{x:.2f}" interpolation-format form); this module handles layout and alignment.
All functions and symbols are in “md_boost” module, use require to get access to it.
require daslib/md_boost
7.11.1. Enumerations
- ColAlign
enum ColAlign
7.11.2. Tables
- render_md_table(headers: array<string>; aligns: array<ColAlign>; rows: array<array<string>> ): string
def render_md_table (headers: array<string>; aligns: array<ColAlign>; rows: array<array<string>>) : string
- Arguments:
headers : array<string>
aligns : array< ColAlign>
rows : array<array<string>>
7.11.3. Text helpers
- md_bold(s: string ): string
def md_bold (s: string) : string
- Arguments:
s : string
- md_escape(s: string ): string
def md_escape (s: string) : string
- Arguments:
s : string