The REML markup language can be used to format any extra information you want to associate with a code snippet. It is entered on the Extra Information tab of the Snippets Editor dialog box.
First note that you do not have to use REML to markup your extra text – you can use plain text (with a couple of exceptions: see character entities below). CodeSnip will convert your text into a simple REML paragraph by surrounding it in suitable <p> and </p> tags that you will see the next time you edit the text.
The REML language is a simple SGML language like a very simple version of HTML. The are a small number of tags you can use. Firstly there are two block-level tags that render text in paragraphs, while the other tags format text inline.
The following rules apply to the use of <p> and <heading>
Here are some valid examples:
And here's an example of invalid code – the highlighted sections are in error, because they are not contained within block tags.
blah <heading>blah</heading> blah <p>blah</p> blah
Here are the available inline tags:
<p>Make stuff <strong>stand
out</strong>.</p>
<p>Draw <em>attention</em> to
something.</p>
The "<" and "&" characters are special within the markup and must not be used directly, even when you are just entering plain text. You must use the < character entity in place of "<" and & instead of "&".
You may also use " instead of double quotes and > in place of ">". No other symbolic character entities are supported.
However, numeric character entities can be used to insert other characters by specifying its code. For example @ is equivalent to "@".
By way of an example, if you want to display x < y, use:
x < y