IMML - Intermapper Markup Language
You can apply text styles to the probe description text or to the Status window content using IMML, Intermapper's markup language. IMML consists of formatting commands bracketed by backslashes (\). There might be many markup commands between a pair of \...\ characters. The Example Probe File shows a sample description section.
Prior to Intermapper 4.0, the markup characters were « and » (≤ and ≥). Intermapper still accepts these characters, although Fortra recommends that you use the \...\ in new probe files as they are easier to type and can pass unchanged through all mail systems.
How Markup Tags are Applied
- A markup command applies to all text that follows it.
- Subsequent markup tags can be added to or counteract a previous set of markup tags.
Markup Tag Summary
Examples
The following description text is rendered as shown:
\b\Bold \i\Bold Italic \!b\Italic \p\Plain |
Bold Bold Italic Italic Plain |
\M1++\Big red monospace\p\ |
Big red monospace |
\2U\http://www.example.com\p0\ |
http://www.example.com |
\2U=http://www.example.com\Text Link\p0\ |
Text Link |
Creating a Link
The last two examples above show the script code required to create a link. In both examples, \2U\ sets the color to blue and underlines the text.
Special Cases
- If, as in the first of the two link examples above, the only text between the opening and closing tags is a URL (for example,
http://www.example.com), Intermapper treats it as a link to that page.
- If, as in the last link example above, the underline tag contains =[URL], the
text following the backslash (Text Link in the example) appears as blue and underlined.
- In both cases, clicking the text opens that page in a browser.