Zum Hauptinhalt gehen

add newline markdown in a load event/variable

Kommentare

3 Kommentare

  • Berend Veldkamp

    For normal text, you need to insert two newlines to have markdown generate a new paragraph, e.g.

    ="**Bold 1**\n\n**Bold 2**"

     

    This is not needed for headers, which will have a newline appended by default:

    ="# Heading 1\nLine"

     

    If you are not sure about the exact syntax, just drop a Text element on a form and type some markdown in its Description field. This will show the same behavior.

    0
  • Ken Lyon

    You can also get a "soft" line break by adding two spaces before a "\n":

    ="**Bold 1** \n**Bold 2**"

    Result:

     

    Bold 1

    Bold 2

    0
  • Lauren MacLean

    Perfect! Thank you both

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.