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.

NOTE:

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

Tag Action
M Applies a mono-spaced font.
G Sets the font to Geneva or other proportional-spaced font.
+ Increases the font size by one. Multiples (++) increase the font size by the corresponding amount.
- Decreases the font size by 1. Multiples are allowed.
B Sets following text in bold.
I Sets following text in italics.
P Sets following text to plain. Setting text to plain overrides all other style settings.
U Sets following text to underlined. See Creating a link below for making hyperlinks.
! Turns off an applied format.
digit Sets text color to one of the following:
0: Black4: Light blue
1: Red5: Green
2: Blue6: Orange
3: Gray7: Yellow

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.