1

I have a question that I want to have multiple paragraphs in the "title" field. What is the simplest way to add line breaks with survey.js?

Currently looking into using custom CSS to make "description" style match the "title" style , let me know if there's a simpler way!

Spencer s
  • 27
  • 3

2 Answers2

1

add script on your html head

<script src="https://cdnjs.cloudflare.com/ajax/libs/showdown/1.6.4/showdown.min.js"></script>

and use <br> tag

0

You can use HTML and markdown in a question title. Here is the live sample - https://surveyjs.io/Examples/Library?id=survey-markdown-radiogroup&platform=jQuery&theme=modern

TSV
  • 7,538
  • 1
  • 29
  • 37