cortav  Diff

Differences From Artifact [99aafd4711]:

To Artifact [3240d0f3f3]:


   135    135   ** consider using a macro definition [`\edit: [~[#1]][+[#2]]] to save typing if you are doing editing work
   136    136   * link [` \[>[$ref] [$styled-text]\]]: produces a hyperlink or cross-reference denoted by [$ref], which may be either a URL specified with a reference or the name of an object like an image or section elsewhere in the document. the unicode characters [`โ†’] and [`๐Ÿ”—] can also be used instead of [`>] to denote a link.
   137    137   * footnote {span ^|ref|[$styled-text]}: annotates the text with a defined footnote. in interactive output media [`\[^citations.qtheo Quantum Theosophy: A Neophyte's Catechism\]] will insert a link with the text [`Quantum Theosophy: A Neophyte's Catechism] that, when clicked, causes a footnote to pop up on the screen. for static output media, the text will simply have a superscript integer after it denoting where the footnote is to be found.
   138    138   * superscript {obj '|[$styled-text]}
   139    139   * subscript {obj ,|[$styled-text]}
   140    140   * raw {obj \\ |[$raw-text]}: causes all characters within to be interpreted literally, without expansion. the only special characters are square brackets, which must have a matching closing bracket, and backslashes.
   141    141   * raw literal [` \["[$raw-text]\]]: shorthand for a raw inside a literal, that is ["[`[\\โ€ฆ]]]
   142         -* macro [` \{[$name] [$arguments]}]: invokes a [>ex.mac macro], specified with a reference
          142  +* macro [` \{[$name] [$arguments]}]: invokes a [>ex.mac macro] inline, specified with a reference. if the result of macro expansion contains newlines, they will be treated as line breaks, rather than paragraph breaks as they would be in a multiline context.
   143    143   * argument {obj #|var}: in macros only, inserts the [$var]-th argument. otherwise, inserts a context variable provided by the renderer.
   144    144   * raw argument {obj ##|var}: like above, but does not evaluate [$var].
   145    145   * term {obj &|name}, {span &|name|[$expansion]}: quotes a defined term with a link to its definition, optionally with a custom expansion of the term (for instance, to expand the first use of an acronym)
   146    146   * inline image {obj &@|name}: shows a small image or other object inline. the unicode character [`๐Ÿ–ผ] can also be used instead of [`&@].
   147    147   * unicode codepoint {obj U+|hex-integer}: inserts an arbitrary UCS codepoint in the output, specified by [$hex-integer]. lowercase [`u] is also legal.
   148    148   * math mode {obj =|equation}: activates additional transformations on the span to format it as a mathematical equation; e.g. [`*] becomes [`ร—] and [`/] --> [`รท].
   149    149   * extension {span %|ext|โ€ฆ}: invokes extension named in [$ext]. [$ext] will usually be an extension name followed by a symbol (often a period) and then an extension-specific directive, although for some simple extensions it may just be the plain extension name. further syntax and semantics depend on the extension. this syntax can also be used to apply formatting specific to certain renderers, such as assigning a CSS class in the [`html] renderer (["[%html.myclass my [!styled] text]]).