Format reward descriptions with markdown
About markdown in the Loyalty Microsite
Markdown is a lightweight markup language used to create formatted text using a plain-text editor. It's simple and easy to read, even in its raw form.
The Loyalty Microsite will render markdown formatting in your reward descriptions on the reward view page. This allows you to transform your reward descriptions from plain-text into rich text by incorporating options like bold and italic text, links, images, headings etc.
Only reward descriptions support markdown formatting.


Supported formatting
The following formatting is supported by the Loyalty Microsite
Headings
To create headings, use the # symbol followed by a space. The number of # symbols indicates the heading level.
# Heading 1
## Heading 2
### Heading 3
#### Heading 4
##### Heading 5
###### Heading 6Bold and italics
Bold: Surround the text with
**or__.Italic: Surround the text with
*or_.
Lists
Unordered lists: Use
*,-, or+followed by a space.Ordered lists: Use numbers followed by a period and a space.
Links
To create a link which opens in the same window, use the following syntax:
[link text](URL).To create a link which opens in a new window, use standard HTML link syntax:
<a href="URL" target="_blank">link text</a>
Opening external links in the same window is not supported in embedded Loyalty Microsites.
Embedded microsites only support linking to microsite pages in the same window (i.e. /activity, /terms, /profile etc.)
If you need to link to any page other than another microsite page, you must use the second synax to open the links in a new window.
Images
To add an image, use the same syntax as links but with an exclamation mark ! at the beginning: . You must specify alt text for the image to display.
Horizontal Rules
To create a horizontal rule, use three or more asterisks ***, dashes ---, or underscores ___ on a line by themselves.
Bonus Formatting Options
Our markdown rendering will support some limited HTML. For example:
Changing text colour using
<font color="red">this syntax</font>Underline text using
<ins>this syntax</ins>
Last updated
Was this helpful?