Diarly uses special characters to format text. This is known as Markdown. To use it, special characters are added to your text. This allows Diarly to store everything as plain text. Why is this important?
- It avoids "vendor lock-in": files are more practical to import and export, and you can access your entries and notes using any application in the future from a backup.
- These special characters can be added automatically by Diarly, by using the same shortcuts you already know (like
⌘Bfor Bold), or by using the menus. You can also add them manually using the keyboard, which can allow you to type and format your text at the same time, without taking your hands off the keyboard or having to select text.
Some characters modify the entire line or paragraph, while others only a part of the text. Let's take a look at how to use Markdown.
Line modifiers always start as the first characters of the new line followed by a space. Diarly supports the following line modifiers:
Headers come in four levels:
# to start a primary header,
## for a secondary header,
#### for third and fourth level headers respectively.
# This is a main header ## This is a secondary header ### This is a tertiary header ...
*starts an unordered list
1.starts an ordered list
>starts a quotation
starts a checklist
[x]creates a completed checklist item
A checklist can be toggled as "to do" / "done" by clicking on the checkbox.
Lists and checklists can be nested. You can use
⌘] to increase and decrease the nesting level.
In-line text modifiers
Inline text modifiers can be added to any word or group of words in a line. The available in-line modifers are:
`Code`(using the backtick key, right above the tab key).
These modifiers can be used anywhere in the text, not just at the start of the line.
You can create links to websites using the following format:
[Link to amazing website](http://amazing-website.com)
Alternatively, you can select the text you want to convert into a link and paste the link, and it will be added automatically.
You can use wikilink format to link entries and notes
Diarly will automatically show suggestions of link to entries while you type the name.
More information on linking entries and notes in Diarly in our article: How to link between entries
Hiding and showing Markdown syntax
If you'd like to be able to see the Markdown syntax, or if you find it distracting and would like to hide it, you can go to:
Settings > Other Optionsand toggle
Hide markdown syntax
More > Other Optionsand toggle
Hide markdown syntax