Markup Editor

The markup editor is used in the Edit Snippet dialogue box to enter text that can optionally be formatted. It is used to enter and edit snippet descriptions and extra information.

The editor has two modes of operation: Plain Text and Markup. The modes are selected by using the buttons below the edit control. Each mode causes the text entered in the edit control to be interpreted in a different way, as explained below.

Switching between the modes of operation does not change the text: it is simply interpreted differently. However, you can convert text between the two types as is explained in the Conversions section.

Plain text

Selecting the Plain Text button causes the text entered in the edit control to be interpreted as plain text.

All characters you enter are treated literally. You cannot style the text. Any URLs you enter are treated as plain text and are not interpreted as hyplerlinks.

You can enter multiple paragraphs of text by separating each paragraph with a blank line. Any text on consequtive lines is otherwise treated as a single line. For example:

Lorem ipsum dolor sit amet
consectetur adipiscing elit.

is interpreted as:

Lorem ipsum dolor sit amet consectetur adipiscing elit.

but

Lorem ipsum dolor sit amet

consectetur adipiscing elit.

yields:

Lorem ipsum dolor sit amet

consectetur adipiscing elit.

Visual feedback that you are editing plain text comes from the fact the text is displayed in the default proportional font.

Markup

Choosing the Markup tab causes the entered text to be treated as markup language, which is a very simple, HTML-like, language that allows for a limited amount of text formatting and for the inclusion of hyperlinks. For full details see the REML help topic.

A fixed width font is used to indicate you are editing REML source code instead of plain text.

Conversions

Normally, if you switch between Plain Text and Markup modes, the text in the edit control does not change. However you can convert plain text into the equivalent REML markup and vice versa. This is done from the markup editor's pop-up context menu.

There are two menu options: