This is a very minimal webapp for converting a Google Doc to Markdown. It uses Remark and Rehype (both part of Unified) to do the conversion.
First make sure you have Node.js installed. Then:
-
In the directory where you have cloned this repository, run
npm install
:> cd /path/to/cloned/repo > npm install
-
For a one-time build, run:
> npm run build
…and the built output will be in the
dist
folder.To start a server with live rebuilding, run:
> npm start
Then point your browser to
http://localhost:9000
to see the site. It will automatically rebuild whenever you change any files.
GDoc2MD is open source software. It is (c) 2018 Rob Brackett and licensed under the BSD license. The full license text is in the LICENSE file.