How to prevent hyphen becoming a bullet list?

AI-generated summary

The discussion revolves around preventing hyphenated text from automatically becoming a bullet list in Discourse. Phuong_SuSu shared an example where users start a line with a hyphen, causing it to be formatted as a list. codinghorror suggested using a backslash in front of the dash to prevent this behavior, providing examples of its effect. Additionally, tomtjes shared a link to a relevant meta discussion on dialogue text formatting.

Hello,

My users often use hyphen as a begining of a line from a charactor.

Eg. they wrote :

He said:
- Hi, I'm from England.
She said:
- I'm from Japan. 

It’ll automatically become bullet list like this:

He said:

  • Hi, I’m from England.
    She said
  • I’m from Japan.

How to prevent this behavior of Discourse?

Use a backslash in front of the dash. See Markdown Reference

  • list

- not a list

- list

\- not a list

Also see