Skip to content
/ wp2md Public

A python script to convert wordpress HTML to markdown

License

Notifications You must be signed in to change notification settings

Kahncode/wp2md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP2MD - Wordpress to markdown

A script to convert wordpress HTML to markdown. I use this to convert my posts and pages to markdown for cross-posting to other websites.

Customize it to your needs in order to process custom HTML from your specific wordpress installation (plugins, custom HTML and CSS).

DISCLAIMER: I am terrible at python programming.

Python version and Dependencies

  • Developed and tested with python 3.7
  • pip packages:
    • pypandoc
  • Pandoc must be installed and available in the path

Usage

  • python wp2md.py <file.html>
  • will write out <file.md>

About

A python script to convert wordpress HTML to markdown

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages