mr_markdown_builder

[ Back to examples index ]


Tables

Generated by examples/tables-example.js, covering tableHeader and tableRows, with and without column alignment.

Default (unaligned) columns

| Item | Price | Notes | | — | — | — | | Coffee | $4.50 | Iced or hot | | Tea | $3.75 | Herbal or black | | Water | $1.00 | Still or sparkling |

Aligned columns

Pass ['left', 'center', 'right'] as a second argument to tableHeader to align each column. | Item | Price | Notes | | :— | :—: | —: | | Coffee | $4.50 | Iced or hot | | Tea | $3.75 | Herbal or black | | Water | $1.00 | Still or sparkling |