lowdown icon indicating copy to clipboard operation
lowdown copied to clipboard

"##" not rendered properly in term mode

Open nkh opened this issue 1 year ago • 1 comments

"# something" translates to red+"something" while "## somethineg else" translates to green+"## something else", IE: the '#' stay.

this can be seen in your own example: https://kristaps.bsd.lv/lowdown/screen-term.png

nkh avatar Jul 19 '22 09:07 nkh

same goes for "###"

nkh avatar Jul 19 '22 10:07 nkh

This was from a patch from the Nix folks, and is set in term.h. You can override this at compile-time by setting pfx_header_n for the prefixed '#' in n>1 headers, pfx_header_1 for n=1 headers, and the colours in sty_header_1 and sty_header_n, respectively. Since there's no standard for this, it's just bike-shedding one way or another, so I'm probably not going to merge changes unless there's a glaringly good reason, and I think the existing way is good enough.

kristapsdz avatar Mar 27 '23 22:03 kristapsdz