Text+
DevForum Topic
  • Welcome
  • Installation
  • Fundamentals
    • Introduction
    • Line breaks
    • Customization
      • Fonts
      • Scale-size
      • Truncation
    • Modification
    • Text bounds
  • Fine-control
    • Introduction
    • Full iteration
  • Specific indexing and iteration
  • Transform and style
  • Custom fonts
    • Introduction
    • Font to XML
    • XML to Lua
    • Upload font image
    • Import to Text+
Powered by GitBook
On this page
  • Use \n
  • Use multiline strings
  1. Fundamentals

Line breaks

You can manually break lines using just strings. There are two ways to do this.

Use \n

You can use to break to the next line at any place. will not be shown in the text.

"First line\nSecond line"

Not a / (slash) but a \ (backslash).

Use multiline strings

Using [[]] instead of "" will allow you to create a string that takes up multiple lines. You simply make an actual line break, and it will work.

[[First line
Second line]]
PreviousIntroductionNextCustomization

Last updated 5 days ago