(Using Harlowe 1.2.3) I have a passage that contains text for two separate scenarios ($step 1 and $step 2). The problem is with (else-if: $step is 2), when I test or play this step, the text skips the first line and is below where the text on all my other pages start. I attempted to use the tips in the Harlowe 1.2.3 manual for 'collapsing whitespace' and 'escaped line break', but they didn't help, and any tinkering I did to my $step 1 text would only result in errors.
Is there any way to remove the line skip?
Comments
Ignore the (set:) part, that being just to setup the $step variable for testing.
I am having another issue with linebreaks. I want to keep them! But only inside a hook. I beginning to think it may not be possible. Aside from this digression, hope ma code helped.
You have two choices:
1. Use Collapsing Whitespace markup.
This removes all line-breaks between the open and close curly braces, but not the line-break after the close curly brace. The down-side is that you can't separate sentences into paragraphs within a set of braces without using a HTML (p)aragraph element
2. Use Escaped line break markup.
The BACKSLASH character can be used to either remove a single line-break immediately prior to it, or a single line-break immediately following it, but not both. NOTE: In the second example each of the first two lines ends with a SPACE character.
You can also use Escaped line break markup to remove (a) empty line(s) added to the content of your passage.
I was hoping something like this might work... Sadly it doesn't. Can anything be done here? Or would it be easier just to setup a new passage, and display its contents.
As I stated earlier, Collapsing Whitespace markup removes ALL line-breaks within the marked text.
Try the following, it results in the first two words of the sentence appearing on one line and the rest of the words appearing on the next.