Add a footnote to the Lorem Ipsum test project

This commit is contained in:
Veronica Berglyd Olsen committed 2024-04-27 16:50:37 +02:00
1 parent 4572d101cf
commit db9305c230
12 files changed
+67 -33

No files matched your search

+2
View File
@@ -564,6 +564,8 @@ class Tokenizer(ABC):
elif cStyle == nwComment.FOOTNOTE:
tLine, tFmt = self._extractFormats(cText, skip=self.FMT_FNOTE)
self._footnotes[f"{tHandle}:{cKey}"] = (tLine, tFmt)
if self._keepMD:
tmpMarkdown.append(f"{aLine}\n")
else:
tLine, tFmt = self._extractFormats(cText)
self._tokens.append((