Add footnotes to output translation file

This commit is contained in:
Veronica Berglyd Olsen
2024-04-15 18:25:13 +02:00
parent 44192c88f5
commit 92888338f4
2 changed files with 2 additions and 0 deletions
@@ -1,6 +1,7 @@
{
"Synopsis": "Synopsis",
"Short Description": "Short Description",
"Footnotes": "Footnotes",
"Comment": "Comment",
"Notes": "Notes",
"Tag": "Tag",
+1
View File
@@ -209,6 +209,7 @@ class ToMarkdown(Tokenizer):
indent = "\n\n"+" "*len(marker)
text = indent.join(self._formatText(t, f, tags) for t, f in content)
lines.append(f"{marker}{text}\n")
lines.append("\n")
result = "".join(lines)
self._result += result