Markdown, created by John Gruber of Daring Fireball, is the technology we chose to use to allow rich text within Day One journal entries. Markdown allows italic and bold, along with several other simple formatting options that can be written using plain text and display properly in Read views. Markdown syntax is available in Day One and is toggled On by default.
Day One takes a similar approach to Markdown as GitHub. See GitHub Flavored Markdown.
The best way to see how Markdown formatting works in Day One is to refer to these sample entries:
Day One Markdown Syntax
*italic* or _italic_ / **bold** or __bold__
italic or italic / bold or bold
An inline link: [example](http://dayoneapp.com/).
An inline link: example.
An id link [example][id].
An id link example.
An auto-linked URL: http://dayoneapp.com/
# Header 1
## Header 2
### Header 3
#### Header 4
##### Header 5
###### Header 6
Note: To nest bullets use tab (Mac only) or two spaces further indented than the previous item (both Mac and iOS).
> Angle brackets are used for blockquotes.
Angle brackets are used for blockquotes.
One | Two | Three
--- | --- | ---
Blue | White | Gray
Green | Yellow | Red
OneTwoThreeBlue White Gray Green Yellow Red
Note that because the first line of journal entries has special properties associated with Day One’s auto-bolding feature, tables must start on the second or subsequent line of a journal entry.
Three or more dashes or asterisks --- ***
Code & Preformatted Text
spans are delimited by backticks. You can include literal backticks like
[TAB]Preformatted text block using a tab.
Preformatted text block using a tab.
To make citations, use <cite> at the beginning of the citation and </cite> at the end of the citation.