lonekorean / wordpress-export-to-markdown

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

Option to add WordPress Metadata to front matter #96

Closed bbusschots closed 5 months ago

bbusschots commented 1 year ago

Setting the --include-wp-frontmatter option to true will add the following keys to the front matter on each rendered markdown file:

I tried to copy all the relevant naming conventions and coding styles so this code fits in to the project's structure. Hope I didn't make any silly mistakes 🤞

lonekorean commented 5 months ago

Thanks for this! Unfortunately I did a complete rewrite of how frontmatter is handled and so merging this PR wasn't feasible. Just wanted to say thanks before closing this out.