On 2024-11-02 00:20, Remind list wrote:
> Is it possible to make text bold, italic, underlined, hyperlinked or
> any other type of formatting?
You might be able to cheat a bit to coerce it:
SET ESC char(27)
SET CSI ESC + "["
SET reset CSI + "0m"
SET bold CSI + "1m"
SET italic CSI + "3m"
SET underline CSI + "4m"
IF $UseVTColors || $Use256Colors || $UseTrueColors
FSET b(s) bold + s + reset
FSET i(s) italic + s + reset
FSET u(s) underline + s + reset
ELSE
FSET b(s) s
FSET i(s) s
FSET u(s) s
ENDIF
MSG I love [b("tacos")], [i("pizza")], [u("brownies")], and cookies
It should do nothing by default, but if you've specified color output
with -@ like
$ rem -q -@2
it should emit the ANSI[1] sequences for the bold/italic/underline.
-tim
[1] https://en.wikipedia.org/wiki/Ansi_color
_______________________________________________
Remind-fans mailing list
[email protected]
https://dianne.skoll.ca/mailman/listinfo/remind-fans
Remind is at https://dianne.skoll.ca/projects/remind/