App Icon
ed.bacher
•  169,487
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. 

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
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
Profile Picture
A User of Docs to Markdown
May 15, 2020
The markdown tags for tables are incorrect.
Is this review helpful?
Yes
No
Profile Pciture
A user of Docs to Markdown
May 27, 2020
savada assignments folders yes
Profile Picture
A User of Docs to Markdown
May 7, 2020
does not work! absolute waste of time.
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
April 23, 2020
Super helpful. I wish you could disable the comment output, and copy the HTML directly to the clipboard with a click. Would be killer for my workflow.
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
April 3, 2020
Works pretty great for me. Have some big documents with multiple pages and it creates good markdown with proper formatting. Now I can import into our internal wiki from Google docs very easily.
Is this review helpful?
Yes
No
Profile Picture
A User of Docs to Markdown
February 21, 2020
Life saver of an add-on for those who prefer Markdown-based documents. I wish the final result could be customized more, like spacing (lots of extra new lines and spaces) and choice of character for list ("-" instead of "*"), etc. But, can't complain, plain text rules. Thank you for building this!
Is this review helpful?
Yes
No
Profile Pciture
A user of Docs to Markdown
February 22, 2020
You're welcome! I'll take a look at the extra space issue when I get a chance (I use an internal formatter to remove extra space, etc., but it's not generally available -- sorry about that). What's your use case for "-" instead of "*" in converted Markdown -- the rendered HTML is still the same, right?
1-10 of 28
Additional information
ed.bacher
Support
Terms of Service
Search
Clear search
Close search
Google apps
Main menu