[new release] printbox (4 packages) (0.9) #25132
Merged
+166
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows to print nested boxes, lists, arrays, tables in several formats
CHANGES:
0.9
PrintBox.text
will correctly handle newlinesprintbox-md
backend, generating markdown (by @lukstafi)0.8
0.7
move to 4.08 as lower bound
preformatted
text style instead of global settingPrintBox_html:
<pre>
HTML element<span>
, not<div>
<details><summary>
for collapsible treesfix: Tree connectors touching frames (Tree connectors touching frames c-cube/printbox#26)
0.6.1
0.6
using unicode characters for box borders
0.5
PrintBox_html
link
case0.4
<p>
in rendering text to htmlgrid_map_l
andv_record
0.3
improve code readability in text rendering
add
align
andcenter
add basic styling for text (ansi codes/html styles)
add
printbox_unicode
for setting up proper unicode printingadd
grid_l
,grid_text_l
, andrecord
helpersuse 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 renderingautomatic testing using dune and mdx
migrate to dune and opam 2
0.1
initial release