(BLOCK (PARA (LINK-EXTERNAL () "https://commonmark.org/" (TEXT "CommonMark")) (TEXT " is a Markdown dialect, an ") (LINK-EXTERNAL () "https://xkcd.com/927/" (TEXT "attempt")) (TEXT " to unify all the different, divergent dialects of Markdown by providing an unambiguous syntax specification for Markdown, together with a suite of comprehensive tests to validate implementation.")) (PARA (TEXT "Time will show, if this attempt is successful.")) (PARA (TEXT "However, CommonMark is a well specified Markdown dialect, in contrast to most (if not all) other dialects.") (SOFT) (TEXT "Other software adopts CommonMark somehow, notably ") (LINK-EXTERNAL () "https://github.github.com/gfm/" (TEXT "GitHub Flavored Markdown")) (TEXT " (GFM).") (SOFT) (TEXT "But they provide proprietary extensions, which makes it harder to change to another CommonMark implementation if needed.") (SOFT) (TEXT "Plus, they sometimes build on an older specification of CommonMark.")) (PARA (TEXT "Zettelstore supports the latest CommonMark ") (LINK-EXTERNAL () "https://spec.commonmark.org/0.30/" (TEXT "specification version 0.30 (2021-06-19)")) (TEXT ".") (SOFT) (TEXT "If possible, Zettelstore will adapt to newer versions when they are available.")) (PARA (TEXT "To provide CommonMark support, Zettelstore uses currently the ") (LINK-EXTERNAL () "https://github.com/yuin/goldmark" (TEXT "Goldmark")) (TEXT " implementation, which passes all validation tests of CommonMark.") (SOFT) (TEXT "Internally, CommonMark is translated into some kind of super-set of ") (LINK-ZETTEL () "00001007000000" (TEXT "Zettelmarkup")) (TEXT ", which additionally allows to use HTML code.") (ENDNOTE () (TEXT "Effectively, Markdown and CommonMark are itself super-sets of HTML.")) (SOFT) (TEXT "This Zettelmarkup super-set is later ") (LINK-ZETTEL () "00001012920500" (TEXT "encoded")) (TEXT ", often into ") (LINK-ZETTEL () "00001012920510" (TEXT "HTML")) (TEXT ".") (SOFT) (TEXT "Because Zettelstore HTML encoding philosophy differs a little bit to that of CommonMark, Zettelstore itself will not pass the CommonMark test suite fully.") (SOFT) (TEXT "However, no CommonMark language element will fail to be encoded as HTML.") (SOFT) (TEXT "In most cases, the differences are not visible for an user, but only by comparing the generated HTML code.")) (PARA (TEXT "Be aware, depending on the value of the startup configuration key ") (LINK-ZETTEL () "00001004010000#insecure-html" (LITERAL-INPUT () "insecure-html")) (TEXT ", HTML code found within a CommonMark document or within the mentioned kind of super-set of Zettelmarkup will typically be ignored for security-related reasons.")))