Skip to content

Version 1.4.0

Latest
Compare
Choose a tag to compare
@kristapsdz kristapsdz released this 26 Dec 00:36
45dc8b4

Deprecate the --nroff argument prefix in favour of --roff, so for example --nroff-traditional becomes --roff-traditional. The old prefix is retained and will not be removed. Deprecated old forms (e.g., --nroff-no-groff) did not get a replacement.

Deprecate --term-nolinks and --term-shortlinks in favour of --term-no-links and --term-short-links, respectively. The old forms are retained and will not be removed.

Add --term-hpadding and clarify the roles of --term-cols, --term-hmargin, and --term-width. Also document auto argument to --term-hmargin. The default output looks the same as it did before, but --term-hpadding=0 can now omit any leading characters.

Add --term-no-rellinks to omit only relative links. This is useful because terminal output doesn't have a concept of a "relative" link.

Add passing literal strings as initial values to --template.

Document --term-hmargin=auto, previously undocumented as centre.

Use UTF-8 sequences for -tterm lines: horizontal lines, tables, block vertical lines, etc. Simplify the image link output to look a little more like pandoc.

API change (hence the minor version bump): lowdown_tree_rndr(3) now also accepts a pointer to the options. This is to enable debugging of the parse tree of --template. Now, passing -s --template to -ttree will produce the template's parse tree alongside the parsed content of the input.

API change (hence the minor version bump): moving terminal-specific members of lowdown_opts into lowdown_opts_term.