((META (EMPTY-STRING title "Zettelmarkup: Text Formatting") (WORD role "manual") (TAG-SET tags ("#manual" "#zettelmarkup" "#zettelstore")) (WORD syntax "zmk") (ZID-SET back ("00001007040000" "00001007800000" "00001007990000" "00001012920513")) (ZID-SET backward ("00001007040000" "00001007050100" "00001007800000" "00001007990000" "00001012920513")) (NUMBER box-number "1") (STRING copyright "(c) 2020-present by Detlef Stern ") (TIMESTAMP created "20210126175322") (ZID-SET forward ("00001007030800" "00001007050000" "00001007050100")) (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20231113191353") (TIMESTAMP published "20231113191353") (WORD visibility "public")) (BLOCK (PARA (TEXT "Text formatting is the way to make your text visually different.") (SOFT) (TEXT "Every text formatting element begins with two same characters.") (SOFT) (TEXT "It ends when these two same characters occur the second time.") (SOFT) (TEXT "It is possible that some ") (LINK-ZETTEL () "00001007050000" (TEXT "attributes")) (TEXT " follow immediately, without any separating character.")) (PARA (TEXT "Text formatting can be nested, up to a reasonable limit.")) (PARA (TEXT "The following characters begin a text formatting:")) (UNORDERED (BLOCK (PARA (TEXT "The low line character (") (FORMAT-QUOTE () (LITERAL-INPUT () "_")) (TEXT ", U+005F) emphasizes its text.")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "abc __def__ ghi") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (TEXT "abc ") (FORMAT-EMPH () (TEXT "def")) (TEXT " ghi")) (TEXT ".")))) (BLOCK (PARA (TEXT "The asterisk character (") (FORMAT-QUOTE () (LITERAL-INPUT () "*")) (TEXT ", U+002A) strongly emphasized its enclosed text.")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "abc **def** ghi") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (TEXT "abc ") (FORMAT-STRONG () (TEXT "def")) (TEXT " ghi")) (TEXT ".")))) (BLOCK (PARA (TEXT "The greater-than sign character (") (FORMAT-QUOTE () (LITERAL-INPUT () ">")) (TEXT ", U+003E) marks text as inserted.")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "abc >>def>> ghi") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (TEXT "abc ") (FORMAT-INSERT () (TEXT "def")) (TEXT " ghi")) (TEXT ".")))) (BLOCK (PARA (TEXT "Similar, the tilde character (") (FORMAT-QUOTE () (LITERAL-INPUT () "~")) (TEXT ", U+007E) marks deleted text.")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "abc ~~def~~ ghi") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (TEXT "abc ") (FORMAT-DELETE () (TEXT "def")) (TEXT " ghi")) (TEXT ".")))) (BLOCK (PARA (TEXT "The circumflex accent character (") (FORMAT-QUOTE () (LITERAL-INPUT () "^")) (TEXT ", U+005E) allows to enter super-scripted text.")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "e=mc^^2^^") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (TEXT "e=mc") (FORMAT-SUPER () (TEXT "2"))) (TEXT ".")))) (BLOCK (PARA (TEXT "The comma character (") (FORMAT-QUOTE () (LITERAL-INPUT () ",")) (TEXT ", U+002C) produces sub-scripted text.")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "H,,2,,O") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (TEXT "H") (FORMAT-SUB () (TEXT "2")) (TEXT "O")) (TEXT ".")))) (BLOCK (PARA (TEXT "The quotation mark character (") (FORMAT-QUOTE () (LITERAL-INPUT () "\"")) (TEXT ", U+0022) marks an inline quotation, according to the ") (LINK-ZETTEL () "00001007050100" (TEXT "specified language")) (TEXT ".")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "\"\"To be or not\"\"") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (FORMAT-QUOTE () (TEXT "To be or not"))) (TEXT ".")) (INLINE (TEXT "Example: ") (LITERAL-CODE () "\"\"Sein oder nicht\"\"{lang=de}") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (FORMAT-QUOTE (("lang" . "de")) (TEXT "Sein oder nicht"))) (TEXT ".")))) (BLOCK (PARA (TEXT "The number sign (") (FORMAT-QUOTE () (LITERAL-INPUT () "#")) (TEXT ", U+0023) marks the text visually, where the mark does not belong to the text itself.") (SOFT) (TEXT "It is typically used to highlight some text that is important for you, but was not important for the original author.")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "abc ##def## ghi") (TEXT " is rendered in HTML as: ") (FORMAT-SPAN (("" . "example")) (TEXT "abc ") (FORMAT-MARK () (TEXT "def")) (TEXT " ghi")) (TEXT ".")))) (BLOCK (PARA (TEXT "The colon character (") (FORMAT-QUOTE () (LITERAL-INPUT () ":")) (TEXT ", U+003A) mark some text that should belong together. It fills a similar role as ") (LINK-ZETTEL () "00001007030800" (TEXT "region blocks")) (TEXT ", but just for inline elements.")) (UNORDERED (INLINE (TEXT "Example: ") (LITERAL-CODE () "abc ::def::{=example} ghi") (TEXT " is rendered in HTML as: abc ") (FORMAT-SPAN (("" . "example")) (TEXT "def")) (TEXT " ghi.")))))))