0.2.2 • Published 9 years ago
docxtohtml v0.2.2
#About
This script is meant to take a .docx downloaded from google docs and convert it to a nicely formatted .html file. It is assumed the google docs file is made with almost exclusively with the tags <ul>
and <li>
.
Dependencies
- homebrew (for installing pandoc and node)
- pandoc
- node
Installation
Using Homebrew you can instal node and pandoc using the following.
1. Homebrew
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2. Pandocbrew install pandoc
3. Nodebrew install node
Usage
node docxtohtml.js <filename.docx>
Notes
This is basically a mashup of the following.