package crs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Text_tableSource

A minimalist interface to create ascii tables with Ansi and GitHub Flavored Markdown rendering.

This library is inspired by Textutils.Ascii_table and PrintBox. We created it to implement the rendering to GitHub Markdown, which was not handled by either libraries.

In the tests we show various rendering possible and compare it to PrintBox rendering (ansi, and markdown) for reference and experimentation.

Sourcetype t

Render

Sourceval to_string_ansi : t -> Base.string
Sourceval to_string_markdown : t -> Base.string

Builders

Sourcemodule Style : sig ... end
Sourcemodule Cell : sig ... end
Sourcemodule Align : sig ... end
Sourcemodule Column : sig ... end
Sourceval make : columns:'a Column.t Base.list -> rows:'a Base.list -> t
Sourcemodule O : sig ... end

Private

Sourcemodule Private : sig ... end
OCaml

Innovation. Community. Security.