print-tableversion Documentation on ocaml.org

Simple Unicode/ANSI and Markdown text table rendering

print-table provides a minimal library for rendering text tables with Unicode box-drawing characters and optional ANSI colors, or as GitHub-flavored Markdown.

The API is straightforward and declarative, designed for readable tables in command-line tools, tests, and tutorials.

This library has taken some inspiration from 2 existing and more feature-complete libraries, which we link to here for more advanced usages: see printbox and ascii_table.

Tags table markdown
AuthorMathieu Barbin
LicenseISC
Published
Homepagehttps://github.com/mbarbin/print-table
Issue Trackerhttps://github.com/mbarbin/print-table/issues
MaintainerMathieu Barbin <opensource@mbarbin.org>
Dependencies
Source [http] https://github.com/mbarbin/print-table/releases/download/0.1.3/print-table-0.1.3.tbz
sha256=38a408c56b7cdb379bfdac0d14791cbffb7bc27cde23bf869e0600c1cd3f1173
sha512=08c8acb8d1b85b240fbe6876e3f378110b8dc1efdd216c6a24d5f5c270fbd09c1bc7f2b9c4f08f6f44aa09c343e70b83bfb3c46d9acf51205cda5f3870161406
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/print-table/print-table.0.1.3/opam
Required by
  • crs>=0.0.20250914