Text Formatting


The new DSL version features special text formatting tools called formatting tags. Any formatting tool has two commands: toggle on tag and toggle off tag. Depending on this, the text entered between these tags will be formatted in a certain manner.

Any toggle on tags look like [a], where a is a formatting tool tag (comprising either on or two characters). The respective toggle off tag looks like [/a].

Implemented are the following text formatting tools:

The following example makes "отпускная" displayed in italics, "цена" as boldfaced, and the overall card ("отпускная цена") as underlined.

selling price
    [u][i]отпускная[/i] [b]цена[/b][/u]

Mind the fact that spaces before, after and in the middle of tags are present only if actually intended to be displayed. That means that you can format, if you want, only a part of the word (a single letter, the first and the last letters, etc.). If there is a space before and after a tag, only one space will be actually displayed.

The formatting tags must not overlap. If you toggled one formatting tag before another, you must toggle it off after the latter.