((META (EMPTY-STRING title "Other Markup Languages") (WORD role "manual") (TAG-SET tags ("#manual" "#zettelstore")) (WORD syntax "zmk") (ZID-SET back ("00001000000000" "00001007031200" "00001007031300" "00001007031400" "00001007040200" "00001012920513" "00001012920522" "00001017000000" "00001018000000")) (ZID-SET backward ("00001000000000" "00001004010000" "00001006020000" "00001007031200" "00001007031300" "00001007031400" "00001007040200" "00001008050000" "00001012920513" "00001012920522" "00001017000000" "00001018000000")) (NUMBER box-number "1") (STRING copyright "(c) 2020-present by Detlef Stern ") (TIMESTAMP created "20210126175300") (ZID-SET forward ("00000000000092" "00000000000100" "00001004010000" "00001006020000" "00001007000000" "00001008010000" "00001008010500" "00001008050000" "00001012920510" "00001014000000")) (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20240413160242") (TIMESTAMP published "20240413160242") (WORD visibility "public")) (BLOCK (PARA (LINK-ZETTEL () "00001007000000" (TEXT "Zettelmarkup")) (TEXT " is not the only markup language you can use to define your content.") (SOFT) (TEXT "Zettelstore is quite agnostic with respect to markup languages.") (SOFT) (TEXT "Of course, Zettelmarkup plays an important role.") (SOFT) (TEXT "However, with the exception of zettel titles, you can use any (markup) language that is supported:")) (UNORDERED (INLINE (TEXT "CSS")) (INLINE (TEXT "HTML template data")) (INLINE (TEXT "Image formats: GIF, PNG, JPEG, SVG")) (INLINE (TEXT "Markdown")) (INLINE (TEXT "Plain text, not further interpreted"))) (PARA (TEXT "The ") (LINK-ZETTEL () "00001006020000#syntax" (TEXT "metadata key")) (TEXT " ") (FORMAT-QUOTE () (LITERAL-INPUT () "syntax")) (TEXT " specifies which markup language / data format should be used.") (SOFT) (TEXT "If it is not given, it defaults to ") (LITERAL-INPUT () "plain") (TEXT ".") (SOFT) (TEXT "The following syntax values are supported:")) (DESCRIPTION ((MARK "css" "css" "css" (LITERAL-INPUT () "css"))) (BLOCK (BLOCK (PARA (TEXT "A ") (LINK-EXTERNAL () "https://www.w3.org/Style/CSS/" (TEXT "Cascading Style Sheet")) (TEXT ", to be used when rendering a zettel as HTML.")))) ((MARK "draw" "draw" "draw" (LITERAL-INPUT () "draw"))) (BLOCK (BLOCK (PARA (TEXT "A ") (LINK-ZETTEL () "00001008050000" (TEXT "language")) (TEXT " to ") (FORMAT-QUOTE () (TEXT "draw")) (TEXT " a graphic by using some simple Unicode characters.")))) ((MARK "gif" "gif" "gif" (LITERAL-INPUT () "gif")) (TEXT "; ") (MARK "jpeg" "jpeg" "jpeg" (LITERAL-INPUT () "jpeg")) (TEXT "; ") (MARK "jpg" "jpg" "jpg" (LITERAL-INPUT () "jpg")) (TEXT "; ") (MARK "png" "png" "png" (LITERAL-INPUT () "png")) (TEXT "; ") (MARK "webp" "webp" "webp" (LITERAL-INPUT () "webp"))) (BLOCK (BLOCK (PARA (TEXT "The formats for pixel graphics.") (SOFT) (TEXT "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.") (ENDNOTE () (TEXT "Before version 0.2, the meta-file had the file extension ") (LITERAL-INPUT () ".meta"))))) ((MARK "html" "html" "html" (LITERAL-INPUT () "html"))) (BLOCK (BLOCK (PARA (TEXT "Hypertext Markup Language, will not be parsed further.") (SOFT) (TEXT "Instead, it is treated as ") (LINK-SELF () "#text" (TEXT "text")) (TEXT ", but will be encoded differently for ") (LINK-ZETTEL () "00001012920510" (TEXT "HTML format")) (TEXT " (same for the ") (LINK-ZETTEL () "00001014000000" (TEXT "web user interface")) (TEXT ").")) (PARA (TEXT "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 ") (LINK-ZETTEL () "00001004010000#insecure-html" (LITERAL-INPUT () "insecure-html")) (TEXT " is set to at least the value ") (FORMAT-QUOTE () (TEXT "html")) (TEXT ".")) (PARA (TEXT "For security reasons, equivocal elements will not be encoded in the HTML format / web user interface.") (SOFT) (TEXT "The ") (LITERAL-CODE () "< script ...>") (TEXT " tag is an example.") (SOFT) (TEXT "See ") (LINK-ZETTEL () "00001008010000#security-aspects" (TEXT "security aspects of Markdown")) (TEXT " for some details.")))) ((MARK "markdown" "markdown" "markdown" (LITERAL-INPUT () "markdown")) (TEXT ", ") (MARK "md" "md" "md" (LITERAL-INPUT () "md"))) (BLOCK (BLOCK (PARA (TEXT "For those who desperately need ") (LINK-EXTERNAL () "https://daringfireball.net/projects/markdown/" (TEXT "Markdown")) (TEXT ".") (SOFT) (TEXT "Since the world of Markdown is so diverse, a ") (LINK-ZETTEL () "00001008010500" (TEXT "CommonMark")) (TEXT " parser is used.") (SOFT) (TEXT "See ") (LINK-ZETTEL () "00001008010000" (TEXT "Use Markdown within Zettelstore")) (TEXT ".")))) ((MARK "none" "none" "none" (LITERAL-INPUT () "none"))) (BLOCK (BLOCK (PARA (TEXT "Only the metadata of a zettel is ") (FORMAT-QUOTE () (TEXT "parsed")) (TEXT ".") (SOFT) (TEXT "Useful for displaying the full metadata.") (SOFT) (TEXT "The ") (LINK-ZETTEL () "00000000000100" (TEXT "runtime configuration zettel")) (TEXT " uses this syntax.") (SOFT) (TEXT "The zettel content is ignored.")))) ((MARK "svg" "svg" "svg" (LITERAL-INPUT () "svg"))) (BLOCK (BLOCK (PARA (LINK-EXTERNAL () "https://www.w3.org/TR/SVG2/" (TEXT "Scalable Vector Graphics")) (TEXT ".")))) ((MARK "sxn" "sxn" "sxn" (LITERAL-INPUT () "sxn"))) (BLOCK (BLOCK (PARA (TEXT "S-Expressions, as implemented by ") (LINK-EXTERNAL () "https://t73f.de/r/sx" (TEXT "Sx")) (TEXT ".") (SOFT) (TEXT "Often used to specify templates when rendering a zettel as HTML for the ") (LINK-ZETTEL () "00001014000000" (TEXT "web user interface")) (TEXT " (with the help of sxhtml]).")))) ((MARK "text" "text" "text" (LITERAL-INPUT () "text")) (TEXT ", ") (MARK "plain" "plain" "plain" (LITERAL-INPUT () "plain")) (TEXT ", ") (MARK "txt" "txt" "txt" (LITERAL-INPUT () "txt"))) (BLOCK (BLOCK (PARA (TEXT "Plain text that must not be interpreted further.")))) ((MARK "zmk" "zmk" "zmk" (LITERAL-INPUT () "zmk"))) (BLOCK (BLOCK (PARA (LINK-ZETTEL () "00001007000000" (TEXT "Zettelmarkup")) (TEXT "."))))) (PARA (TEXT "The actual values are also listed in a zettel named ") (LINK-ZETTEL () "00000000000092" (TEXT "Zettelstore Supported Parser")) (TEXT ".")) (PARA (TEXT "If you specify something else, your content will be interpreted as plain text."))))