package printbox-text

  1. Overview
  2. Docs
Text renderer for printbox, using unicode edges

Install

Dune Dependency

Authors

Maintainers

Sources

v0.6.1.tar.gz
md5=6e065332d7db622572bd963dbd530589
sha512=7c0882333d2b297c235ee73f09e8b95cdd6013909db0f1b7e07a1b90153e6a3e68249715c90030e033ced6ab3a40aab41d4470d686164676acb544ccbe6ba715

doc/CHANGELOG.html

Changes

0.6

  • move text rendering into a new printbox-text library
  • Changing visuals for hlines and vlines connections, and tree structure using unicode characters for box borders

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

OCaml

Innovation. Community. Security.