Bold, italics and lists

How can I program or configure text styles such as bold and italics in my ODK spreadsheet? I would also like to know how I could insert lists into it.

The ODK docs have a section on form styling: https://docs.getodk.org/form-styling/
The XLSForm docs also cover this: https://xlsform.org/en/#styling-prompts

Collect's Markdown support includes bold and italic styling.

_italic_
*italic*
__bold__
**bold**

"Note: The label of a form widget is already bold, so bolding text within the label has no effect. Similarly, the hint text of a form widget is already in italics, so italicizing text within the hint has no effect."

You want to insert a list into the question text?

2 Likes

Yes. I want to insert a list inside the spreadsheet.

Screen Shot 2021-05-21 at 5.15.06 PM

3 Likes

Thanks so much! It works! :slight_smile:

1 Like

You're welcome. Great that it can do what you want!

@danbjoseph

Hello! How can you make a part of the text both bold AND italics? Thank you!

Hi @ODK_Ekomer, try mixing the two character symbols:

**bold**
_italic_
_**bold and italic**_
2 Likes

It works, thank you!!

1 Like