From bf44a94065f30e3f0aa4f68d69646d63e72a08dd Mon Sep 17 00:00:00 2001 From: Feoramund <161657516+Feoramund@users.noreply.github.com> Date: Thu, 20 Jun 2024 18:22:03 -0400 Subject: [PATCH] Update `core:text/table` documentation --- core/text/table/doc.odin | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/core/text/table/doc.odin b/core/text/table/doc.odin index cd14ab98f..fc87c59b1 100644 --- a/core/text/table/doc.odin +++ b/core/text/table/doc.odin @@ -1,5 +1,5 @@ /* -The package `table` implements ASCII/markdown/HTML/custom rendering of tables. +The package `table` implements plain-text/markdown/HTML/custom rendering of tables. **Custom rendering example:** @@ -7,7 +7,7 @@ The package `table` implements ASCII/markdown/HTML/custom rendering of tables. padding(tbl, 0, 1) row(tbl, "A_LONG_ENUM", "= 54,", "// A comment about A_LONG_ENUM") row(tbl, "AN_EVEN_LONGER_ENUM", "= 1,", "// A comment about AN_EVEN_LONGER_ENUM") - build(tbl) + build(tbl, table.unicode_width_proc) for row in 0..