Skip to content

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>`.

Notifications You must be signed in to change notification settings

fredeerock/docxtohtml

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This script is meant to take a .docx downloaded from google docs and convert it to a nicely formatted .html file. It assumes the google docs file is made 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. Pandoc
brew install pandoc
3. Node
brew install node

Usage

node docxtohtml.js <filename.docx>

Notes

This is basically a mashup of the following.

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>`.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages