User Tools

Site Tools


harlowe:escaped_line_break

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

harlowe:escaped_line_break [2017/10/09 20:39] (current)
Line 1: Line 1:
 +====Escaped line breaks====
  
 +Sometimes, you may want to write an especially long line, potentially containing many macros.
 +This may not be particularly readable in the passage editor, though. One piece of markup that
 +may help you is the ''​%%%%''​ mark - placing it just before a line break, or just after it, will cause the line break
 +to be removed from the passage, thus "​joining together"​ the lines.
 +
 +=== Example usage: ===
 +
 +<​code>​
 +This line
 +and this line
 +and this line, are actually just one line.
 +</​code>​
 +=== Details: ===
 +
 +There must not be any [[harlowe:​whitespace|whitespace]] between the ''​%%%%''​ and the line break. Otherwise, it won't work.
 +
 +Like most passage text markup, this cannot be used inside a macro call (for instance, ''​%%(print:​ %%''<​html><​br></​html>​
 +''​%%3)%%''​) - but since line breaks between values in macro calls are ignored, this doesn'​t matter.
harlowe/escaped_line_break.txt ยท Last modified: 2017/10/09 20:39 (external edit)