diff --git a/heidegger_index/md.py b/heidegger_index/md.py index fc85c38..4c0ac4f 100644 --- a/heidegger_index/md.py +++ b/heidegger_index/md.py @@ -17,6 +17,8 @@ def convert_md(content): RE_LEMMA_LINK = r"\[\[([^\]\n]+)\]\]" # e.g. [[Aristoteles]] +# For citations were adhering to Pandoc's syntax. +# See https://pandoc.org/chunkedhtml-demo/8.20-citation-syntax.html RE_WORK_CIT = r"\[@([^\]\n]+?)\]" # e.g. [@GA-62, p. 4] RE_IN_TEXT_WORK_CIT = r"(?