Headings, lists, quotes, links and colours: everything a normal article needs is one click or one keyboard shortcut away.
Inline styles
Select a few words and a small bar appears above them. From there you can make text bold, italic, underlined or struck through, turn it into a link that opens in a new tab, or mark it as inline code.
The More menu adds H2O style subscript and x2 superscript. The Colours button sets a text colour or a highlight.
Headings
Use Heading 2 for the sections of an article and Heading 3 for the parts inside a section. Typing ## and a space at the start of a line creates a Heading 2.
A smaller heading
Headings 4 to 6 are in the Text style menu for long, structured documents.
Lists
- Start a line with
-and a space for a bulleted list. - Press Tab to indent an item.
- This item is nested.
- Shift+Tab moves it back.
- Press Enter twice to leave the list.
- Start a line with
1.and a space for a numbered list. - The numbers continue by themselves.
- Lists can hold any inline style.
Quotes
A quote stands out from the text around it. Start a line with
>and a space, or pick Quote in the Text style menu.
Alignment
This paragraph is centred.
This one is aligned to the right.
Code
// A code block keeps spaces and line breaks.
function greet(name) {
return 'Hello ' + name;
}
The line above is a divider: type --- on an empty line.