Name

text-window:html-prefix

Usage

builtin-function

Syntax

(text-window:html-prefix win)

Description

Gets the html mode of win when writing with the lisp functions print and write.

This mode is by default defined by an entry in the file kiezellisp-repl.conf and by a parameter to text-window:open.

When null or an empty string, this mode is disabled.

When enabled, writing certain html-like terms switch display attributes on and off. In the table below, replace < and '>' character by the html prefix and suffix.

<b> </b>            <bold> </bold>
<i> </i>            <italic> </italic>
<u> </u>            <underline> </underline>
<strike> </strike>  <strikeout> </strikeout>
                    <reverse> </reverse>
                    <highlight> </highlight>
                    <shadow> </shadow>
                    <normal>
                    <info>
                    <warning>
                    <error>
                    <some-color-number-or-name>
user 1 > (.html-prefix $stdscr)
it: "<[({"
user 2 > (.html-suffix $stdscr)
it: "})]>"

See also

text-window:html-suffix text-window:open