((h2 (@ (id . "text")) (kbd "TEXT")) (div (@ (class . "syntax")) (p (em "Text") " " (strong "=") " " (kbd "(TEXT") " String " (kbd ")") ".")) (p "Specifies the string as some text content, including white space characters.") (h2 (@ (id . "soft")) (kbd "SOFT")) (div (@ (class . "syntax")) (p (em "Soft") " " (strong "=") " " (kbd "(SOFT)") ".")) (p "Denotes a soft line break." " " "It will be often encoded as a space character, but signals the point in the textual content, where a line break occurred.") (h2 (@ (id . "hard")) (kbd "HARD")) (div (@ (class . "syntax")) (p (em "Hard") " " (strong "=") " " (kbd "(HARD)") ".")) (p "Specifies a hard line break, i.e. the user wants to have a line break here.") (h2 (@ (id . "link")) (kbd "LINK-*")) (p "The following lists specify various links, based on the full reference." " " "They all have the same structure, with a trailing sequence of " (em "InlineElements") " that contain the linked text.") (div (@ (class . "syntax")) (p (em "InvalidLink") " " (strong "=") " " (kbd "(LINK-INVALID") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains the invalid link specification.") (div (@ (class . "syntax")) (p (em "ZettelLink") " " (strong "=") " " (kbd "(LINK-ZETTEL") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains the zettel identifier, a zettel reference.") (div (@ (class . "syntax")) (p (em "SelfLink") " " (strong "=") " " (kbd "(LINK-SELF") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains the number sign character and the name of a zettel mark." " " "It reference the same zettel where it occurs.") (div (@ (class . "syntax")) (p (em "FoundLink") " " (strong "=") " " (kbd "(LINK-FOUND") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains a zettel identifier, a zettel reference, of a zettel known to be included in the Zettelstore.") (div (@ (class . "syntax")) (p (em "BrokenLink") " " (strong "=") " " (kbd "(LINK-BROKEN") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains a zettel identifier, a zettel reference, of a zettel known to be " (em "not") " included in the Zettelstore.") (div (@ (class . "syntax")) (p (em "HostedLink") " " (strong "=") " " (kbd "(LINK-HOSTED") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains a link starting with one slash character, denoting an absolute local reference.") (div (@ (class . "syntax")) (p (em "BasedLink") " " (strong "=") " " (kbd "(LINK-BASED") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains a link starting with two slash characters, denoting a local reference interpreted relative to the Zettelstore base URL.") (div (@ (class . "syntax")) (p (em "QueryLink") " " (strong "=") " " (kbd "(LINK-BASED") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains a " (a (@ (href . "00001007700000")) "query expression") ".") (div (@ (class . "syntax")) (p (em "ExternalLink") " " (strong "=") " " (kbd "(LINK-EXTERNAL") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains a full URL, referencing a resource outside of the Zettelstore server.") (h2 (@ (id . "embed")) (kbd "EMBED")) (div (@ (class . "syntax")) (p (em "Embed") " " (strong "=") " " (kbd "(EMBED") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931900")) (em "Reference")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "Specifies an embedded element, in most cases some image content or an inline transclusion." " " "A transclusion will only be used, if the zettel content was not evaluated.") (p (em "Reference") " denoted the referenced zettel.") (p "If the string value is empty, it is an inline transclusion." " " "Otherwise it contains the syntax of an image.") (p "The " (em "InlineElement") " at the end of the list is interpreted as describing text.") (h2 (@ (id . "embed-blob")) (kbd "EMBED-BLOB")) (div (@ (class . "syntax")) (p (em "EmbedBLOB") " " (strong "=") " " (kbd "(EMBED-BLOB") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String" (sub "1") " String" (sub "2") " " (kbd ")") ".")) (p "If used if some processed image has to be embedded inside some inline material." " " "The first string specifies the syntax of the image content." " " "The second string contains the image content." " " "If the syntax is " (@L (@H "“") "SVG" (@H "”")) ", the image content is not further encoded." " " "Otherwise a base64 encoding is used.") (h2 (@ (id . "cite")) (kbd "CITE")) (div (@ (class . "syntax")) (p (em "CiteBLOB") " " (strong "=") " " (kbd "(CITE") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The string contains the citation key.") (h2 (@ (id . "mark")) (kbd "MARK")) (div (@ (class . "syntax")) (p (em "Mark") " " (strong "=") " " (kbd "(MARK") " String" (sub "1") " String" (sub "2") " String" (sub "3") " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The first string is the mark string used in the content." " " "The second string is the mark string transformed to a slug, i.e. transformed to lower case, remove non-ASCII characters." " " "The third string is the slug string, but made unique for the whole zettel." " " "Then follows the marked text as a sequence of " (em "InlineElement") "s.") (h2 (@ (id . "endnote")) (kbd "ENDNOTE")) (div (@ (class . "syntax")) (p (em "Endnote") " " (strong "=") " " (kbd "(ENDNOTE") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "Specifies endnote / footnote text.") (h2 (@ (id . "format")) (kbd "FORMAT-*")) (p "The following lists specifies some inline text formatting." " " "The structure is always the same, the initial symbol denotes the actual formatting.") (div (@ (class . "syntax")) (p (em "DeleteFormat") " " (strong "=") " " (kbd "(FORMAT-DELETE") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as deleted.") (div (@ (class . "syntax")) (p (em "EmphasizeFormat") " " (strong "=") " " (kbd "(FORMAT-EMPH") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as emphasized.") (div (@ (class . "syntax")) (p (em "InsertFormat") " " (strong "=") " " (kbd "(FORMAT-INSERT") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as inserted.") (div (@ (class . "syntax")) (p (em "MarkFormat") " " (strong "=") " " (kbd "(FORMAT-MARK") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as highlighted for the reader (but was not important fto the original author).") (div (@ (class . "syntax")) (p (em "QuoteFormat") " " (strong "=") " " (kbd "(FORMAT-QUOTE") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as quoted text.") (div (@ (class . "syntax")) (p (em "SpanFormat") " " (strong "=") " " (kbd "(FORMAT-SPAN") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as belonging together in a certain, yet unspecified way.") (div (@ (class . "syntax")) (p (em "SubScriptFormat") " " (strong "=") " " (kbd "(FORMAT-SUB") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as sub-scripted text.") (div (@ (class . "syntax")) (p (em "SuperScriptFormat") " " (strong "=") " " (kbd "(FORMAT-SUPER") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as super-scripted text.") (div (@ (class . "syntax")) (p (em "StrongFormat") " " (strong "=") " " (kbd "(FORMAT-STRONG") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " " (a (@ (href . "00001012931600")) (em "InlineElement")) " … " (kbd ")") ".")) (p "The inline text should be treated as strongly emphasized.") (h2 (@ (id . "literal")) (kbd "LITERAL-*")) (p "The following lists specifies some literal text." " " "The structure is always the same, the initial symbol denotes the actual usage.") (div (@ (class . "syntax")) (p (em "CodeLiteral") " " (strong "=") " " (kbd "(LITERAL-CODE") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (kbd ")") ".")) (p "The string contains text that should be treated as executable code.") (div (@ (class . "syntax")) (p (em "CommentLiteral") " " (strong "=") " " (kbd "(LITERAL-COMMENT") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (kbd ")") ".")) (p "The string contains text that should be treated as an internal comment not to be interpreted further.") (div (@ (class . "syntax")) (p (em "HTMLLiteral") " " (strong "=") " " (kbd "(LITERAL-HTML") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (kbd ")") ".")) (p "The string contains text that should be treated as HTML code.") (div (@ (class . "syntax")) (p (em "InputLiteral") " " (strong "=") " " (kbd "(LITERAL-INPUT") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (kbd ")") ".")) (p "The string contains text that should be treated as input entered by an user.") (div (@ (class . "syntax")) (p (em "MathLiteral") " " (strong "=") " " (kbd "(LITERAL-MATH") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (kbd ")") ".")) (p "The string contains text that should be treated as special code to be interpreted as mathematical formulas.") (div (@ (class . "syntax")) (p (em "OutputLiteral") " " (strong "=") " " (kbd "(LITERAL-OUTPUT") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (kbd ")") ".")) (p "The string contains text that should be treated as computer output to be read by an user.") (div (@ (class . "syntax")) (p (em "ZettelLiteral") " " (strong "=") " " (kbd "(LITERAL-ZETTEL") " " (a (@ (href . "00001012931000#attribute")) (em "Attributes")) " String " (kbd ")") ".")) (p "The string contains text that should be treated as (nested) zettel content."))