Crates.io | docs_to_markdown |
lib.rs | docs_to_markdown |
version | 0.1.4 |
source | src |
created_at | 2022-12-12 09:16:04.363301 |
updated_at | 2023-02-09 08:54:25.88448 |
description | Tool to convert Google Docs to Markdown |
homepage | https://github.com/trchopan/docs-to-markdown |
repository | https://github.com/trchopan/docs-to-markdown.git |
max_upload_size | |
id | 734871 |
size | 46,527 |
Convert Google Docs to Markdown.
Do you like the editing capability of Google Docs and wish I can edit a README.md with it?
This tool will help you convert a published Google Docs to Markdown easily. In fact, this README.md is from this docs.
Now you can have awesome spell check, grammar correction, and link insert, picture view, tables, and many more.
Using Rust cargo
tool.
cargo install docs_to_markdown
# Export to output
docs_to_markdown <PUBLISH_LINK>
# Export to README.md file
docs_to_markdown <PUBLISH_LINK> > README.md
# Export and copy to clipboard
docs_to_markdown <PUBLISH_LINK> | pbcopy
Please use this endpoint sparingly. I’m running it on a free tier Cloudflare Worker. If you can, feel free to host your own for your convenience.
curl --request POST 'https://docs-to-markdown.chop.dev/' \
--header 'Content-Type: application/json' \
--data-raw "{\"url\": \"$PUBLISH_LINK\"}"
Copyright (c) 2022-, Quang Tran.