Add a footnote to the Lorem Ipsum test project

This commit is contained in:
Veronica Berglyd Olsen
2024-04-27 16:50:37 +02:00
parent 4572d101cf
commit db9305c230
12 changed files with 67 additions and 33 deletions
+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((