Skip to content

a quick and dirty script to convert a Word (docx) document to html.

License

Notifications You must be signed in to change notification settings

bradmontgomery/word2html

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Convert a Word Doc to html

To install, run:

pip install word2html

This will give you a command-line script, which you can run:

$ word2html /path/to/MyGloriousDoc.docx

This will give you a new file, /path/to/MyGloriousDoc.html, that's (hopefully) decent-looking html.

Note on tests & versions

  • This project has NO TESTS! (feel free to add some of you think it should).
  • This was last used with python 3.9 and the dependency versions listed in requirements.txt

Note on Licenses

While this code is MIT-licensed, it uses boty pypandoc and pytidylib, both of which depend on other software that may not be MIT-licensed and must be installed for this to work.

  • pytidylib is available under the MIT license, and Tidy is available under an MIT-like license
  • pypandoc is available under the MIT license, while Pandoc is released under the GPL.

About

a quick and dirty script to convert a Word (docx) document to html.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages