package printbox

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

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.tar.gz
md5=2cd18b6198d58c27d1bbec4d18836353
sha512=6aefd975403751288de02104f0bf21d455e37c057fd9237d38af42dd8e01643514acc3a9ab96d42b0c1f5064c3a330833352ac09cd6198275f1c165db2bace7f

CHANGELOG.md.html

Changes

0.5

  • reenable mdx for tests

  • custom classes/attributes for html translation in PrintBox_html

  • add link case

  • examples: add lambda.ml

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