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)

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 إعجابات

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)

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

إعجابَين (2)

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)

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)

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

إعجاب واحد (1)

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.