Markdown
A markup language supported by Notetxt for easy note formatting.
Last updated
A markup language supported by Notetxt for easy note formatting.
Last updated
Notetxt features support for Markdown, a lightweight markup language created by John Gruber. It is most commonly used when writing things such as documents, blogs, or notes.
To learn the syntax that Markdown uses, I recommend reading the Markdown Cheat Sheet created by markdownguide.org, which contains various examples of syntax being used as well.
In Notetxt, you are able to view your note in a side-by-side Markdown view, while also being able to simultaneously edit your note and see the Markdown rendered in real-time! See an example below:
While Notetxt supports most base Markdown syntax, it also supports and utilises a few plugins which allow you to extend your Markdown! 👇
Alerts can notify a reader about something important or useful.
Notetxt uses the GitHub Alerts syntax for this plugin. The syntax is shown below:
The alerts will be displayed as shown in the screenshot below:
Notetxt includes support for KaTeX, a typesetting library which allows the rendering of math within your Markdown.
To utilise KaTeX in your Markdown, use the following syntax:
This will render the quadratic formula as shown below:
Notetxt includes support for emoji shortcodes, which certain platforms like GitHub use to display emoji's with a related name. You can view an emoji cheat sheet here, which contains every shortcode that is supported.
To add emoji shortcodes into your Markdown, use the following syntax:
The emoji shortcode in the sentence will be displayed as shown below:
While supported in Markdown, the raw YAML frontmatter and its markers will appear in previewed Markdown unless supported/handled correctly. On most websites, frontmatter is hidden from being displayed in the Markdown, but is still within the raw contents of the file. This also applies to Notetxt. You can confirm this by viewing the Markdown preview and note content at the same time.
This will only work with the ---
marker.
For example, say we have the following Markdown:
The Markdown that you will end up seeing in the Markdown preview will look as shown below:
As evident from the screenshot, the frontmatter is hidden from the Markdown preview, while still displaying the rest of your note.