Formatting Survey Text
- Updated
You can format your surveys (e.g. add bold/italic text and hyperlinks) by adding special formatting codes. MyDataHelps Designer leverages both Markdown & HTML.
Markdown is supported for:
- Step Title (except for Consent Steps)
- Step Text
- Step Detail Text
- Footnote
- Choice Text
- Choice Answer Description Text
HTML is supported for:
- Web View Steps
- Consent Step Title
- Consent Section Title
- Consent Section Content
Markdown
Description | Formatting | Example |
---|---|---|
Bold | **bold text** | bold text |
Italics | _italics text_ | italics text |
Link | <http://example.com> | http://example.com |
Link (with title text) | [Link Text](http://www.example.com) | Link Text |
Mail Link | <user@example.com> | user@example.com |
Telephone Link | [123-555-1234](tel: 123-555-1234) | 123-55-1234 |
List Bullets |
- Item 1 Note: You can use various Markdown list formats and indent items for multi-level lists. |
Note: Lists are only supported in multi-line fields, not titles and other inline text. |
These formatting codes are based on Markdown formatting. Only a limited set of Markdown codes, shown in the table above, are supported at this time.
Markdown links should only be used in survey text and detail text (as opposed to titles and footers).
For example: Setting the step text to "It's the **most important** meal of the day." will be displayed as:
HTML
Note: This is not a comphrensive list of all HTML commands, but rather covers the most common needs.
Description | Formatting | Example |
---|---|---|
Bold | <b>bold text</b> | bold text |
Italics | <i>italics text</i> | italics text |
Link (with title text) |
<a href="http://www.example.com">Link Text</a> |
|
Mail Link |
<a href="mailto:user@example.com"> user@example.com</a> |
user@example.com |
Telephone Link | <a href="tel: 123-555-1234")>123-555-1234</a> | 123-555-1234 |
List Bullets |
<ul> <li>Item 1</li> <ul> <li>Item A</li> <li>Item B</li> </ul> <li>Item 3 </ul> Note: You can substitute <ul> and </ul> with <ol> and </ol> respectively to create a numbered list. |
Note: Lists are only supported in multi-line fields, not titles and other inline text. |
Below is an example of using HTML formatting for a Consent Step:
Was this article helpful?