User Tools

Site Tools


Sidebar

Passage markup

basics

coding

extra

list

section

whitespace

Macros

basics

colour

data structure

date and time

game state

live

maths

number

revision

saving

showing and hiding

string

styling

url

deprecated

Types of data

Special keywords

Special passage tags

harlowe:heading

Heading markup

Heading markup is used to create large headings, such as in structured prose or title splash passages. It is almost the same as the Markdown heading syntax: it starts on a fresh line, has one to six consecutive f#s, and ends at the line break.

Example usage:

#Level 1 heading renders as an enclosing <h1>
   ###Level 3 heading renders as an enclosing <h3>
 ######Level 6 heading renders as an enclosing <h6>

As you can see, unlike in Markdown, opening whitespace is permitted before the first #.

harlowe/heading.txt · Last modified: 2017/10/10 00:39 (external edit)