Include margin-notes.lua

This commit is contained in:
Bastien Dumont
2022-04-03 17:38:42 +02:00
parent 74d8d18801
commit 04f3ef7267
5 changed files with 957 additions and 0 deletions

24
margin-notes/sample.md Normal file
View File

@ -0,0 +1,24 @@
---
mrgnn-define-renderings:
- class: term
body-text: '`**§content§**`'
note-text: '`§attr.lem§: *§attr.def§*`'
docx-body-text: '`**§content§**`'
docx-note-text: '`§attr.lem§: §attr.def§`'
- class: warning
body-text: ''
note-text: '`**§content§**`'
---
[Important!]{.warning}You can use LaTeX to include
[BibTeX]{.term
lem=BibTeX
def="A program designed to format bibliographical entries"
} citations. Note that in LaTeX environments,
the material between the begin and end tags will be interpreted
as [raw LaTeX]{.term
lem="Raw code"
def="Code inserted **untouched** in the output."
}, not as Markdown.
(From Pandoc manual)