package printbox

  1. Overview
  2. Docs
Allows to print nested boxes, lists, arrays, tables in several formats

Install

Dune Dependency

Authors

Maintainers

Sources

0.4.tar.gz
md5=c32598a4923c055fba05d747d24b7d4f
sha512=1b6d5981c73fa9d373ba1a555be655d5658fa2bb3105b692daf21158119bdc0c10424437de17eab0c8ac77a99877be6ace9aa0e1518212811bb3342211882e26

doc/CHANGELOG.html

Changes

0.4

  • remove <p> in rendering text to html
  • add grid_map_l and v_record
  • add another test

0.3

  • improve code readability in text rendering
  • add align and center
  • add basic styling for text (ansi codes/html styles)
  • add printbox_unicode for setting up proper unicode printing
  • add grid_l, grid_text_l, and record helpers
  • use a more accurate length estimate for unicode, add test
  • remove mdx as a test dep
  • fix rendering bugs related to align right, and padding

0.2

  • make the box type opaque, with a view function
  • require OCaml 4.03
  • add PrintBox_text.pp
  • expose a few new functions to build boxes
  • change Text type, work on string slices when rendering
  • automatic testing using dune and mdx
  • migrate to dune and opam 2

0.1

initial release

OCaml

Innovation. Community. Security.