[Remind-Fans] Formatting text

Dianne Skoll dianne at skoll.ca
Fri Nov 1 21:34:25 EDT 2024


On Sat, 02 Nov 2024 00:20:27 +0000
Joel Young via Remind-fans <remind-fans at lists.skoll.ca> wrote:

> Is it possible to make text bold, italic, underlined, hyperlinked or
> any other type of formatting?

It depends where the output is appearing.

In the terminal, you can use ANSI escape codes.  See the file
examples/ansitext in the Remind source distribution and see
Tim Chase's message on this list.

If you're using rem2html to produce an HTML calendar, you can
use the SPECIAL HTML directive:

REM ... SPECIAL HTML This is <b>bold</b> and here is a <a href="foo">link</a>.

If you're using rem2pdf to produce a PDF calendar, you can use
the SPECIAL PANGO directive:

REM ... SPECIAL PANGO This is <b>bold</b>.

For more information on that, see https://docs.gtk.org/Pango/pango_markup.html

Regards,

Dianne.


More information about the Remind-fans mailing list