App Icon
ed.bacher
•  187,230
Overview
Open-source Drive add-on that converts a Google Doc to simple, readable Markdown or HTML.
Docs to Markdown (GD2md-html) converts Google Docs to simple, readable Markdown or HTML. Now open-source!

This add-on allows you to create documents using the excellent editing and collaborative features of Google Docs, then convert to Markdown or HTML that you can store as text files using a version-control system.

Note that Docs to Markdown marks up the content (headings, paragraphs, lists, code blocks, etc.) but does not preserve colors and styles in text or tables.

See https://github.com/evbacher/gd2md-html/wiki for docs. See  https://github.com/evbacher/gd2md-html/ for the source.

------------------------------------------
Release information (most recent on top):
- v 1.0β29: Handle partial selections correctly (expand to whole paragraph).
- v1.0β27 (19 June 2020): Copy output to clipboard. Print success/error messages for clipboard output (see chromium bug 1074489). 
- v1.0β26 (6 June 2020): Render soft line breaks correctly in HTML (<br> not &lt;br>).
-v1.0β25: Use image path in this form: images/image1.png, images/image2.png, etc. Clean up old zip image code.
-v1.0β24: Correct a spelling error (s/Supress/Suppress).
-v1.0β23: Copy converted output to the clipboard. Add option to suppress top comment.
-v1.0β22: Roll back font-change runs for now (still causing problems), but keep table note.
-v1.0β21: Add a note that tables are currently converted to HTML tables. No change to rendered conversion.
-v1.0β20: Handle font-change runs with extra whitespace better (italic, bold, etc.).
-v1.0β19 (March 7, 2020): Fix for angle bracket at beginning of a line. Also: use doc title instead of URL in conversion comment.
-v1.0β18 (12 Feb., 2020): Escape HTML tags by default, render them optionally.
- v1.0β17 (5 April, 2019): Convert smart quotes to straight quotes in code, but leave them alone in other text.
- v1.0β16 (25 Feb. 2019): Handle simple nested lists properly in HTML conversion (Markdown already works well).
- v1.0β15 (10 Feb. 2019): Number ordered list items sequentially (instead of using 1. for all items).No change to rendered HTML.
- v1.0β14 (15 Jan. 2019): Name change to Docs to Markdown: now published on G Suite Marketplace.
- v1.0β13 (29 Sept. 2018): Close strikethrough text properly at the end of a paragraph.
- v1.0β12 (24 Sept. 2018) : Convert strikethrough text.
- Revert to: // - 1.0β11: Fix small bug: replace bufout with bufHTML. Remove version number from banner. Retitle.
- v1.0β12 (28 May, 2018): Replace < with &lt; by default. Add option to allow HTML tags. Also allow escape (\<).
- v1.0β11 (24 March, 2018): No effect on output. Remove version number from banner. Retitle.
- v1.0β10 (17 Feb. 2018): Handle soft line-breaks (shift-enter) properly. (Markdown and HTML)
- v1.0β9 (9 Nov. 2017): Handle embedded paragraphs in list items for Markdown.
- v1.0β8 (30 Oct. 2017): Use _ instead of * for italic markup to avoid ambiguity (Markdown).
- v1.0β7 (10 Oct., 2017): Warn if DEBUG is true.
- v1.0β6 (07 Oct., 2017): Ignore headings that are blank or just contain whitespace.
- v1.0β5 (17 Sept., 2017): Warn about multiple H1 headings, but only in the top comment, not inline.
- v1.0β4 (16 Sept., 2017): Don't wrap HTML by default. Add checkbox option to wrap HTML. For footnotes also.
- v1.0β3 (29 July, 2017): Escape angle brackets (<) in HTML code blocks.
- v1.0β2 (15 July, 2017): Check for spurious 0-row table. Fix image path for placeholder links.
- v1.0β (10 July, 2017): Initial release of gd2md-html.
Reviews
Language:
Sort by:
Profile Picture
A User of Docs to Markdown
October 8, 2020
The MAIN reason I got this was to preserve the colors of my text when copying into another page, but no. This converter ignored ALL of my careful color selections, all of the precision hex codes I added for background and text flatly ignored. This is useless to me.
Is this review helpful?
Yes
No
Profile Pciture
A user of Docs to Markdown
October 14, 2020
Sorry about that. When I first created this, our main concern was marking up the content correctly with Markdown or HTML. Figuring out background colors and styles hurts performance and it's probably better to do it later with separate CSS. (Or, you can fork the code and add it yourself!)
Profile Picture
A User of Docs to Markdown
October 2, 2020
What can I say? I desperately needed a Google Docs > Markdown tool. This is it. Thank you so much for creating this!
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
September 25, 2020
Does'n work.
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
September 20, 2020
Not perfect - spacing, underlines, and font tags aren't perfect but does 90% of the work 4/5
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
September 13, 2020
Very nice
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
July 16, 2020
would be a lot more useful for me if alignment markdown worked. this regularly saves me a lot of work on 60~page documents for a writing game I run, but having to go down and fix all the alignments still is a pain.
Is this review helpful?
Yes
No
Profile Pciture
A user of Docs to Markdown
July 17, 2020
What do you mean by alignment?
Profile Picture
A User of Docs to Markdown
July 9, 2020
It would be amazing if this would be compatible with the "Review Suggested Edits - Preview 'Accept All'" feature, so that I can copy the HTML / Markdown without having to accept all edits on the original document.
Is this review helpful?
Yes
No
Profile Pciture
A user of Docs to Markdown
July 9, 2020
It would be amazing -- but I don't think the suggested edits are available via the Docs API. I will check it out though.
Profile Picture
A User of Docs to Markdown
June 30, 2020
Huge time saver, would recommend highly!
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
May 31, 2020
I just found this extension today (I was going to add making one as part of my ever growing to-do list, but decided to look first) and it really helps my workflow. I, like a few others, think it would be helpful to change the '*' to '-' or at least have the option for the output. Thanks for the contribution of this awesome tool.
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
May 22, 2020
This looks really good so far. Question, our Markdown linter is REALLY picky. Maybe in the future releases, would there be a way select certain things. e.g. have dashes '-' instead of asterisk for bullets? Have numbered lists use '1.' instead of numbering sequentially? But thanks, this looks really good and will definitely save me some time!
Is this review helpful?
Yes
No
1-10 of 32
Additional information
ed.bacher
Support
Terms of Service
Search
Clear search
Close search
Google apps
Main menu