davepagurek / google-docs-to-markdown

A minimal webapp for converting Google Docs to Markdown

Home Page:https://gdoc2md.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Google Docs to Markdown

View live: https://davepagurek.github.io/google-docs-to-markdown/

About this fork

This is a form of Mr0grog/google-docs-to-markdown, but adjusted to fit the needs of p5.js documentation generation. Specifically:

  • It makes sure lists do not have newlines between them so that they form "tight lists"
  • It uses HTML syntax for tables so that it supports code and images within table cells
  • It always uses three-backtick code fences for consistency

About the original project

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.

Install & Build

First make sure you have Node.js installed. Then:

  1. In the directory where you have cloned this repository, run npm install:

    > cd /path/to/cloned/repo
    > npm install
  2. 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.

Contributors

This project is open source, and gets better with the hard work and collaboration of multiple people. Thanks to the following for their contributions:

Contributions Name
๐Ÿ’ป Michael Bianco
๐Ÿšง ๐Ÿ’ป ๐Ÿš‡ โš ๏ธ ๐Ÿ“– ๐Ÿ‘€ Rob Brackett
๐Ÿ’ป Tamรกs Halasi
๐Ÿ’ป โš ๏ธ Jack Kingsman
๐Ÿ’ป Peter Law
๐Ÿ“– ๐Ÿš‡ Marcin Rataj
๐Ÿ’ป Ben Sheldon

(For a key to the contribution emoji or more info on this format, check out โ€œAll Contributors.โ€)

License

GDoc2MD is open source software. It is (c) 2018-2022 Rob Brackett and licensed under the BSD license. The full license text is in the LICENSE file.

About

A minimal webapp for converting Google Docs to Markdown

https://gdoc2md.com

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 95.8%Language:HTML 4.2%