Skip to content
  • There are no suggestions because the search field is empty.

Formatting Survey Text

You can format your surveys (e.g., add bold/italic text, lists, and hyperlinks) by adding special formatting codes. MyDataHelps Designer leverages GitHub Flavored Markdown & HTML to provide a wide range of formatting capabilities which can be performed without extensive coding experience using the built-in rich text editor.

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 Document Title
  • Consent Document Section Content
  • Consent Steps
  • Step Text (limited support)
  • Step Detail Text (limited support)

To enable the most robust formatting features, ensure your survey is of type Standard Survey V2 and that the selected Markdown Format is GitHub Flavored Markdown.


GitHub Flavored Markdown

Once enabled, surveys using GitHub Flavored Markdown can utilize a wide range of markdown formatting to create a rich survey experience without the need for complex coding. Listed below are some of the most common applications of GitHub Flavored Markdown used in MyDataHelps, but all inputs listed in GitHub's specification are available.

Description Formatting Result
Bold **bold text** bold text
Italics _italics text_ italics text
Strikethrough ~~strikethrough text~~ strikethrough text
Image ![image-name](http://example.com/smartwatch-image.jpg)

image 44.png

Autolink

<http://example.com>

<user@example.com>

http://example.com

user@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-555-1234
Bullet List

*   Level 1, Item A
*   Level 1, Item B
   *   Level 2, Item A
   *   Level 2, Item B
 

Note: You can use +-, or *. Intend two spaces for each sub-lists.

  • Level 1, Item A
  • Level 1, Item B
    • Level 2, Item A
    • Level 2, Item B
Tables | Week | Survey(s) |
| --- | --- |
| 1 | PHQ-9 |
| 2 | PHQ-9, GAD-7 |
HTML Code
```html
<div>My HTML</div>
```

Screenshot 2025-07-30 at 3.27.52 PM.png

Lists are only supported in multi-line fields, not titles and other inline text.

Examples

By creatively using GitHub Flavored Markdown, you can create highly visual survey steps with no coding required. The following examples show what is possible using this functionality.

With a Text Choice Answer Format, you can insert images like emoji directly into the answer to help illustrate each option.

Built-In HTML Classes

When using GitHub Flavored Markdown to insert HTML code into steps, you can leverage pre-built classes as basic components. If you want more control over the style and formatting, you should use a Web View Step.

Class Description Usage
feature-card A centered box with gray background, to highlight a particular section of information. Use this class for the <div> which contains the entire "card". 
feature-card-header A header for your feature card, including a small icon and a title displayed in a row. Use this class for the <div> which contains the icon and 

You can build an Instruction step with the above classes using the code below. Paste this code into the Text field of the step, and your step will look like the image below.

```html
<div class="feature-card">
<div class="feature-card-header">
<img src="https://orgimages.careevolutionapps.com/d1cfe619-8b35-465d-80c3-67fc8075fe73/4fac9d99-74f1-4794-b65c-2d73c1d8d855.png"/>
About 5 minutes to complete
</div>
</div>
<div class="feature-card">
<div class="feature-card-header">
<img src="https://orgimages.careevolutionapps.com/d1cfe619-8b35-465d-80c3-67fc8075fe73/24c78b14-34be-4657-8201-bc3fdf6e1bbc.png"/>
What will I be asked?
</div>
<p>11 questions about your basic information, such as your date of birth, gender, race, and ethnicity.</p>
</div>

<div class="feature-card">
<div class="feature-card-header">
<img src="https://orgimages.careevolutionapps.com/d1cfe619-8b35-465d-80c3-67fc8075fe73/554507b8-ed1b-4a4d-94eb-3505ec53b74b.png"/>
How is this helpful?
</div>
<p>Understanding which groups of people are more or less affected by ME/CFS or Long COVID may provide researchers with clues about how the diseases work.
</p>
</div>
```

 


Rich Text Editor

With GitHub Flavored Markdown enabled, you can edit the Text or Detail Text of a survey step within a robust rich text editor. To access the editor, click the associated button above a Text or Detail Text field.

In order to access the rich text editor and enhanced markdown functionality, a survey must be a Standard Survey V2 Type.

Formatting your text in the Rich Text Editor works similarly to other document editors. The buttons across the top allow you to format selected text, such as marking it as bold or strikethrough. You can also designate various levels of headings, insert images, code blocks, and indented quotations.

If you already have text formatted in a Word file or Google Doc, you can copy and paste it directly into the editor.

HTML

Note: This is not a comprehensive 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> Link Text
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>
  <li>Item 2</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.

  • Item 1
  • Item 2
    • Item A
    • Item B
  • Item 3

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:

[Legacy] Basic Markdown

Surveys which have not yet been updated to use GitHub Flavored Markdown still have access to simple formatting tools using basic markdown. Only the formatting shown in this table is supported in this mode.

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
- Item 2
    - Item A
    - Item B
- Item 3

Note: You can use various Markdown list formats and indent items for multi-level lists.

  • Item 1
  • Item 2
    • Item A
    • Item B
  • Item 3

Note: Lists are only supported in multi-line fields, not titles and other inline text.

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: