4 Markdown
Markdown is a simple syntax for formatting plain text so that it can be easily read and written by humans, but also can easily be converted into HTML. If you’d like, you can use the Markdown syntax for formatting the body of each note.
If you’re new to Markdown, and would like to read about some of its advantages, feel free to consult my blog post titled Why I Use Markdown (And Why You Should Too). Another good piece on the topic is Markdown and the Slow Fade of the Formatting Fetish.
Within Notenik the body of each note can be formatted using Markdown, but so can any other field declared to be of the type longtext.
Conversion to HTML will be done when displaying a note, but can also be invoked when sharing a note, or when generating HTML through Notenik’s templating engine.
Thanks to the generosity of other open-source developers, Notenik gives you a choice of Markdown parsers to use. Visit the App Settings to change your choice of parser.
-
Down - Blazing fast Markdown rendering in Swift, built upon cmark, which is in turn based on the CommonMark spec.
-
Ink - A fast and flexible Markdown parser written in Swift.
-
Mkdown - Notenik’s own Markdown parser.
Notenik will default to using its own parser, and this is probably the right choice for most users, for most of the time, since it supports many useful extensions to the original Markdown spec.
The remainder of this section will describe Notenik’s own parser.
Contents
- 4.1 Markdown plus SmartyPants
- 4.2 Word and Character Counts
- 4.3 Minor Markdown Variations
- 4.4 Common Markdown Extensions
- 4.5 MultiMarkdown Extensions
- 4.6 Referencing Another Note
- 4.7 Single-Line Commands
- 4.7 Wiki Style Links
- 4.8 Formatting Commands
- 4.9 Intra-Note Commands
- 4.10 Collection Navigation Commands
- 4.11 Supply Collection Data
Next: 4.1 Markdown plus SmartyPants
Skip to: Fields