With some passages in my stories, I'm seeing a delay before the text is displayed. It took me a little while to isolate the issue, but I think it's related to using headings styled with either markdown (##) or html tags (<h2>). Here's an example.
In this passage, the text displays all at once:
Title
No heading.
[[Next->test02]]
In this passage, there's a delay between the appearance of the Title text and the rest of the passage text:
##Title
Markdown heading.
[[Next->test03]]
The same thing happens in this passage:
<h2>Title</h2>
HTML heading.
[[Next->test04]]
Finally, this passage displays all the text at once, with the Title text styled using <span> tags and a class on the story stylesheet:
<span class="h2">Title</span>
``<span>`` tag heading.
.h2 {
font-size: 2.5em;
font-weight: bold;
padding-bottom: 80px;
}
...but the heading displays higher on the page than the other passages, and the padding-bottom CSS selector doesn't seem to have any effect.
Is this a Twine issue, or am I doing something wrong? I'd like to have all of the text display at once when the passage loads.
I'm using Harlowe 3.0.2 in Twine 2.3.1.
Cheers! ~K