From 55f12e384e1ca7a88677167bb5af8952673f962e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phaneDucasse?= Date: Wed, 30 Oct 2024 15:23:27 +0100 Subject: [PATCH] Update syntax.md --- doc/syntax.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/doc/syntax.md b/doc/syntax.md index cfc2b39e..9b494988 100644 --- a/doc/syntax.md +++ b/doc/syntax.md @@ -89,10 +89,16 @@ There is potentially an endless number of extensions one would like to add to Mi `{!extensionName|parameter1=value1¶meter2=value2¶meter3=value3!}`. What the extension does will typically depend on the vistor ($\LaTeX$ generation, Text generation, HTML generation etc) Some extensions are already defined in the Microdown library: -- **inputFile|path=uri** - inserts the contents of the microdown document at uri at this place. - **footnote|note=some note which goes to the foot** - adds a footnote the the generated document - **citation|ref=somewhere so others can find it** - adds a reference to the generated document +Note that each extension has the possibility to define a default first key. +So `{!citation|ref=Duca99a}` can be expressed as `{!citation|Duca99a}`. + +### Microdown paragraph extensions + +- **inputFile|path=uri** - inserts the contents of the microdown document at uri at this place. + ## Microdown Bloc level elements a.k.a Paragraphs