((META (EMPTY-STRING title "Zettelmarkup: Supported Attribute Values for Natural Languages") (WORD role "manual") (TAG-SET tags ("#manual" "#reference" "#zettelmarkup" "#zettelstore")) (WORD syntax "zmk") (ZID-SET backward ("00001007040100" "00001007050000")) (NUMBER box-number "1") (STRING copyright "(c) 2020-present by Detlef Stern ") (TIMESTAMP created "20210126175322") (ZID-SET forward ("00001007040100" "00001007050000")) (WORD lang "en") (EMPTY-STRING license "EUPL-1.2-or-later") (TIMESTAMP modified "20220827182130") (TIMESTAMP published "20220827182130") (WORD visibility "public")) (BLOCK (PARA (TEXT "With an ") (LINK-ZETTEL () "00001007050000" (TEXT "attribute")) (TEXT " it is possible to specify the natural language of a text region.") (SOFT) (TEXT "This is important, if you want to render your markup into an environment, where this is significant.") (SOFT) (TEXT "HTML is such an environment.")) (PARA (TEXT "To specify the language within an attribute, you must use the key ") (LITERAL-INPUT () "lang") (TEXT ".") (SOFT) (TEXT "The language itself is specified according to the language definition of ") (LINK-EXTERNAL () "https://tools.ietf.org/html/rfc5646" (TEXT "RFC-5646")) (TEXT ".")) (PARA (TEXT "Examples:")) (UNORDERED (INLINE (LITERAL-CODE () "{lang=en}") (TEXT " for the english language")) (INLINE (LITERAL-CODE () "{lang=en-us}") (TEXT " for the english dialect spoken in the United States of America")) (INLINE (LITERAL-CODE () "{lang=de}") (TEXT " for the german language")) (INLINE (LITERAL-CODE () "{lang=de-at}") (TEXT " for the german language dialect spoken in Austria")) (INLINE (LITERAL-CODE () "{lang=de-de}") (TEXT " for the german language dialect spoken in Germany"))) (PARA (TEXT "The actual ") (LINK-ZETTEL () "00001007040100" (TEXT "typographic quotations marks")) (TEXT " (") (LITERAL-CODE () "\"\"...\"\"") (TEXT ") are derived from the current language.") (SOFT) (TEXT "The language of a zettel (meta key ") (LITERAL-INPUT () "lang") (TEXT ") can be overwritten by an attribute: ") (LITERAL-CODE (("" . "zmk")) "\"\"...\"\"{lang=fr}") (TEXT "."))))