Text data may be stored in short text, long text, or discrete attributes.
Note: if a short text attribute requires a unique value (configured in MI:Admin), MI:Viewer will check to see if the value you entered is already being used in another record; if yes, you will be unable to save your changes to the data, and a message similar to this will be displayed with the name of the attribute and the duplicate value: "No changes have been saved. There is already a record with attribute 'AttributeA' set to value 'ValueX'.
Long text data on datasheets can be formatted using Markdown formatting syntax. The Markdown syntax has been extended in MI:Viewer to support superscript and subscript text; see the table below for examples.
For more detailed information on Markdown syntax, see Find out more about Markdown. Note that inline HTML formatting cannot be used to format text in GRANTA MI.
Formatting | Markdown syntax | Example | Output |
---|---|---|---|
Span elements | |||
Emphasis |
Italic: single asterisk ( * ) or single underscore ( _ ) on each side of the text Bold: two asterisks ( ** ) or two underscores ( __ ) on each side of the text |
Some *italic* or _italic_ text. Some **bold** or __bold__ text. |
|
Links |
[link text](http://url.com "Title") "Title" is optional and specifies the text displayed when the mouse is moved over the link text. |
A link to my [website](http://acme.com/ "ACME website") |
|
Images |
![alt text](filepath "Title") [alt text] and "Title"
are optional. |
![ACME Co Logo](images/logo.png "ACME logo") |
|
Linked images |
[![alt text](filepath "Title")](http://url.com) To link an image, place square brackets around the image code, and then place the link URL in round brackets immediately after it. |
[![Link to ACME website](images/logo.png |
|
Code |
Single backtick ( ` ) quote on each side of the text. | Example: `Domain\Group` |
|
Superscript | Single caret ^ character on each
side of the text, for example: ^x^ The scripted text cannot include spaces. |
x^2^ |
|
Subscript | Single tilde (swung dash) ~ character
on each side of the text; for example: ~x~
The scripted text cannot include spaces. |
H~2~0 |
|
Block elements |
|||
Headers |
Top-level heading: three or more consecutive equals ( === ) characters on a line. Second-level heading: three or more consecutive hyphens ( --- ) on a line. |
Heading 1 |
|
Blockquotes |
Greater than character ( > ) at the start of each line.
Block quotes can be nested. |
A profile that includes the **MI:Training** database > line 1of block quote > line 2 of block quote Some more text |
|
Lists, ordered |
Line starting with any number followed by a period (.), followed by a space |
6. first item |
|
Lists, unordered | Line starting with an asterisk followed by a space. | * A bullet list item |
|
Horizontal rule | Three or more asterisks ( *** ), or underscores ( ___ ) on a line by themselves. | some text |
|
Miscellaneous | |||
Backslash escapes | Markdown allows you to use backslash escapes to generate literal
characters which would otherwise have special meaning in Markdown’s
formatting syntax.
Markdown provides backslash escapes for the following characters:
|
\*literal asterisks\*
\_literal underscores\_
\[literal square brackets\] |
You can refer to Daring Fireball’s Markdown (external link) site for additional syntax examples and a useful cheat sheet, but remember that inline HTML in Markdown-formatted text will not work in GRANTA MI.