Zettelmarkup is not the only markup language you can use to define your content. Zettelstore is quite agnostic with respect to markup languages. Of course, Zettelmarkup plays an important role. However, with the exception of zettel titles, you can use any (markup) language that is supported:
- HTML template data
- Image formats: GIF, PNG, JPEG, SVG
- Plain text, not further interpreted
The metadata key “syntax” specifies which language should be used. If it is not given, the key “default-syntax” will be used (specified in the configuration zettel). The following syntax values are supported:
- A Cascading Style Sheet➚, to be used when rendering a zettel as HTML.
- gif; jpeg; jpg; png
- The formats for pixel graphics. Typically the data is stored in a separate file and the syntax is given in the .meta file.
Hypertext Markup Language, will not be parsed further. Instead, it is treated as text, but will be encoded differently for HTML format (same for the web user interface).
For security reasons, equivocal elements will not be encoded in the HTML format / web user interface, e.g. the
<script ...tag. See security aspects of Markdown for some details.
- markdown, md
- For those who desperately need Markdown➚. Since the world of Markdown is so diverse, a CommonMark➚ parser is used. See Use Markdown within Zettelstore.
- A Mustache template➚, used when rendering a zettel as HTML for the web user interface.
- Only the metadata of a zettel is “parsed”. Useful for displaying the full metadata. The runtime configuration zettel uses this syntax. The zettel content is ignored.
- A Scalable Vector Graphics➚. The icon for external material is an example.
- text, plain, txt
- Just plain text that must not be interpreted further.
If you specify something else, your content will be interpreted as plain text.