(zettel (meta (back "00001000000000 00001007031200 00001007031300 00001007031400 00001007040200 00001012920513 00001012920522 00001017000000 00001018000000") (backward "00001000000000 00001004010000 00001006020000 00001007031200 00001007031300 00001007031400 00001007040200 00001008050000 00001012920513 00001012920522 00001017000000 00001018000000") (box-number "1") (created "20210126175300") (forward "00000000000092 00000000000100 00001004010000 00001006020000 00001007000000 00001008010000 00001008010500 00001008050000 00001012920510 00001014000000") (modified "20240413160242") (published "20240413160242") (role "manual") (syntax "zmk") (tags "#manual #zettelstore") (title "Other Markup Languages")) (rights 4) (encoding "") (content "[[Zettelmarkup|00001007000000]] is not the only markup language you can use to define your content.\nZettelstore is quite agnostic with respect to markup languages.\nOf course, Zettelmarkup plays an important role.\nHowever, with the exception of zettel titles, you can use any (markup) language that is supported:\n\n* CSS\n* HTML template data\n* Image formats: GIF, PNG, JPEG, SVG\n* Markdown\n* Plain text, not further interpreted\n\nThe [[metadata key|00001006020000#syntax]] \"\"''syntax''\"\" specifies which markup language / data format should be used.\nIf it is not given, it defaults to ''plain''.\nThe following syntax values are supported:\n\n; [!css|''css'']\n: A [[Cascading Style Sheet|https://www.w3.org/Style/CSS/]], to be used when rendering a zettel as HTML.\n; [!draw|''draw'']\n: A [[language|00001008050000]] to \"\"draw\"\" a graphic by using some simple Unicode characters.\n; [!gif|''gif'']; [!jpeg|''jpeg'']; [!jpg|''jpg'']; [!png|''png'']; [!webp|''webp'']\n: The formats for pixel graphics.\n Typically the data is stored in a separate file and the syntax is given in the meta-file, which has the same name as the zettel identifier and has no file extension.[^Before version 0.2, the meta-file had the file extension ''.meta'']\n; [!html|''html'']\n: Hypertext Markup Language, will not be parsed further.\n Instead, it is treated as [[text|#text]], but will be encoded differently for [[HTML format|00001012920510]] (same for the [[web user interface|00001014000000]]).\n\n Since HTML from unknown sources may contain security-related problems, zettel with this syntax are treated as an empty zettel, unless the startup configuration value for [[''insecure-html''|00001004010000#insecure-html]] is set to at least the value \"\"html\"\".\n\n For security reasons, equivocal elements will not be encoded in the HTML format / web user interface.\n The ``< script ...>`` tag is an example.\n See [[security aspects of Markdown|00001008010000#security-aspects]] for some details.\n; [!markdown|''markdown''], [!md|''md'']\n: For those who desperately need [[Markdown|https://daringfireball.net/projects/markdown/]].\n Since the world of Markdown is so diverse, a [[CommonMark|00001008010500]] parser is used.\n See [[Use Markdown within Zettelstore|00001008010000]].\n; [!none|''none'']\n: Only the metadata of a zettel is \"\"parsed\"\".\n Useful for displaying the full metadata.\n The [[runtime configuration zettel|00000000000100]] uses this syntax.\n The zettel content is ignored.\n; [!svg|''svg'']\n: [[Scalable Vector Graphics|https://www.w3.org/TR/SVG2/]].\n; [!sxn|''sxn'']\n: S-Expressions, as implemented by [[Sx|https://t73f.de/r/sx]].\n Often used to specify templates when rendering a zettel as HTML for the [[web user interface|00001014000000]] (with the help of sxhtml]).\n; [!text|''text''], [!plain|''plain''], [!txt|''txt'']\n: Plain text that must not be interpreted further.\n; [!zmk|''zmk'']\n: [[Zettelmarkup|00001007000000]].\n\nThe actual values are also listed in a zettel named [[Zettelstore Supported Parser|00000000000092]].\n\nIf you specify something else, your content will be interpreted as plain text."))