lonekorean / wordpress-export-to-markdown

Converts a WordPress export XML file into Markdown files.
MIT License
1.04k stars 215 forks source link

Should convert footnotes #118

Open johndsmith2024 opened 1 month ago

johndsmith2024 commented 1 month ago

Currently the tool doesn't convert footnotes, leading to the resulting Markdown files containing dead links in the form of [1](#some-uuid), e.g. [1](#3e391428-ca68-4c89-a186-9a42d835ef9a)

Expected result:

Footnote and footnote references in Markdown syntax, e.g.

Lorem ipsum [^1]

[^1]: dolor sit amet
lonekorean commented 1 month ago

Hi, do you have sample raw HTML with footnotes from the export file handy? That would give me an idea of what input to expect, to transform it into the correct markdown output.