Adding line breaks to Admin > Customize > Text

Hi,

What options, if any, are there for adding line breaks to text in the Admin > Customize > Text settings?

2 Likes

Depending on where the text gets displayed on Discourse, you can use markdown to create line breaks. Have a look at some of the existing templates to see how this is done. If you search for ‘education’ from the Text settings page, you’ll see a few good examples.

3 Likes

Thank you!

To be more specific, is it possible to add line breaks within js.review.approval.description?

I believe that I’ve tried most of the ways to add line breaks in that text but I may have overlooked the right one.

1 Like

No, I don’t think it is possible to add line breaks to that text.

2 Likes

Thank you. That clarity helps!

Is it possible for the code to one day permit line breaks to be added there? Or is that a technical non-starter?

1 Like

I’m sure it’s technically possible, but it looks like the code that’s used to render text in the modal window is not currently setup to render markdown.

2 Likes

Simon, thank you so much for this quick and helpful insight!

1 Like