Drive add-on that converts a Google DocтДв to simple, readable Markdown or HTML.
рдмрдирд╛рдиреЗ рд╡рд╛рд▓реА рдХрдВрдкрдиреА:
рд▓рд┐рд╕реНрдЯрд┐рдВрдЧ рдХреЛ рдкрд┐рдЫрд▓реА рдмрд╛рд░ рдЕрдкрдбреЗрдЯ рдХрд┐рдпрд╛ рдЧрдпрд╛:18 рдлрд╝рд░рд╡рд░реА 2025
рдЗрдирдХреЗ рд╕рд╛рде рдХрд╛рдо рдХрд░рддрд╛ рд╣реИ:
12┬ард▓рд╛рдЦ+
рдЕрд╡рд▓реЛрдХрди
Docs to Markdown (GD2md-html) converts Google DocsтДв to simple, readable Markdown or HTML. 

This add-on allows you to create documents using the excellent editing and collaborative features of Google Docs, then convert to Markdown or HTML to use on your web site.

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):
- v1.0╬▓40 (13 Oct 2024): 
    - Close list items before opening a new item. Close at the end of the list. (gdc, html)
    - Add support for Markdown checkbox lists. (gdc)
    - Fixes handling of superscript/subscript to close old styles before opening new style. Moves opening superscript/subscript later in process. (gdc)
    - Added center/right alignment to HTML paragraph and heading handling. - v1.0╬▓39 (12 October 2024): Google Docs recently added a tab interface, which changes the TOC-generated id. This breaks internal links. This release fixes that bug. (gdc, html)
- v1.0╬▓38 (21 Sept 2024): Italic/bold markup default is now */**: _/__ is now an option. Reckless mode now includes Suppress info comment (removed sidebar option too). Also add a News link to gd2md-html news page in sidebar. (sidebar, gdc)
- v1.0╬▓37 (31 August 2024): Add a Questions link to gd2md-html Google group in sidebar (no functional changes).
 - v1.0╬▓36 (26 April 2024): Update required permissions: set explicitly in appsscript.json. No code changes. Using these Oauth scopes:
    "oauthScopes": [
        "https://www.googleapis.com/auth/documents.currentonly",
        "https://www.googleapis.com/auth/script.container.ui"
        ],
-v 1.0╬▓35 (20 Nov. 2023): No info comments if "Suppress info comments" selected. Also remove clipboard success text. If errors, there will be an informational error comment.
-v 1.0╬▓34 (12 Dec. 2022): Clarify note about TOC -- needs blue links to create intra-doc links). (gdc)
-v 1.0╬▓33 (8 Jan. 2022): Add reckless mode (no warnings or inline alerts). (sidebar, gdc, html)
- v 1.0╬▓31 (24 Aug. 2021): Don't contain <hr> in <p> for HTML.
- v 1.0╬▓30 (1 July 2021): Reduce whitespace after list item (bullets, numbers) in Markdown.
- 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.
рдЕрддрд┐рд░рд┐рдХреНрдд рдЬрд╛рдирдХрд╛рд░реА
рдХреАрдорддрдЙрдкрд▓рдмреНтАНрдз рдирд╣реАрдВ
рдбреЗрд╡рд▓рдкрд░
рд╡реНрдпрд╛рдкрд╛рд░реА рдирд╣реАрдВ рд╣реИ
рд╕реЗрд╡рд╛ рдХреА рд╢рд░реНрддреЗрдВ
DocsтДв to Markdown рдиреАрдЪреЗ рджреА рдЧрдИ рдЕрдиреБрдорддрд┐рдпреЛрдВ рдХреЗ рдРрдХреНрд╕реЗрд╕ рдХрд╛ рдЕрдиреБрд░реЛрдз рдХрд░реЗрдЧрд╛. реЫреНрдпрд╛рджрд╛ рдЬрд╛рдиреЗрдВ
DocsтДв to Markdown рдХреЛ рдЖрдкрдХреЗ Google рдЦрд╛рддреЗ рдХреЗ рдРрдХреНрд╕реЗрд╕ рдХреА рдЬрд╝рд░реВрд░рдд рд╣реЛрдЧреА
рдЗрд╕рд╕реЗ DocsтДв to Markdown рдХреЗ рджрд╛рдпрд░реЗ рдореЗрдВ рдпреЗ рдЕрдиреБрдорддрд┐рдпрд╛рдВ рднреА рд╢рд╛рдорд┐рд▓ рд╣реЛ рдЬрд╛рдПрдВрдЧреА :
рд╡реЗ рджрд╕реНрддрд╛рд╡реЗрдЬрд╝ рджреЗрдЦреЗрдВ рдФрд░ рдкреНрд░рдмрдВрдзрд┐рдд рдХрд░реЗрдВ, рдЬрд┐рдирдореЗрдВ рдЗрд╕ рдРрдкреНрд▓рд┐рдХреЗрд╢рди рдХреЛ рдЗрдВрд╕реНрдЯреЙрд▓ рдХрд┐рдпрд╛ рдЧрдпрд╛ рд╣реИ
Google рдРрдкреНрд▓рд┐рдХреЗрд╢рди рдореЗрдВ рдкреНрд░реЙрдореНрдкреНрдЯ рдФрд░ рд╕рд╛рдЗрдбрдмрд╛рд░ рдореЗрдВ рддреАрд╕рд░реЗ рдкрдХреНрд╖ рдХрд╛ рд╡реЗрдм рдХреЙрдиреНрдЯреЗрдВрдЯ рджрд┐рдЦрд╛рдПрдВ рдФрд░ рдЪрд▓рд╛рдПрдВ
рдЖрдкрдХреЗ Google рдЦрд╛рддреЗ рдХрд╛ рдореБрдЦреНрдп рдИрдореЗрд▓ рдкрддрд╛ рджреЗрдЦрдирд╛
рд╕реЛрд╢рд▓ рдореАрдбрд┐рдпрд╛ рдкрд░ рджреА рдЧрдИ рдХрд┐рд╕реА рднреА рдЬрд╛рдирдХрд╛рд░реА рдХреЗ рд╕рд╛рде, рдЕрдкрдиреА рдирд┐рдЬреА рдЬрд╛рдирдХрд╛рд░реА рджреЗрдЦреЗрдВ
рд╕рдореАрдХреНрд╖рд╛рдПрдВ
рднрд╛рд╖рд╛:
рдЗрд╕ рдХреНрд░рдо рдореЗрдВ рд▓рдЧрд╛рдПрдВ:
Google, рд╕рдореАрдХреНрд╖рд╛рдУрдВ рдпрд╛ рд░реЗрдЯрд┐рдВрдЧ рдХреА рдкреБрд╖реНрдЯрд┐ рдирд╣реАрдВ рдХрд░рддрд╛. рд╕рдореАрдХреНрд╖рд╛рдУрдВ рдХреЗ рдмрд╛рд░реЗ рдореЗрдВ реЫреНрдпрд╛рджрд╛ рдЬрд╛рдиреЗрдВ
рдХреЛрдИ рдЯрд┐рдкреНрдкрдгрд┐рдпрд╛рдВ рдирд╣реАрдВ
рдЦреЛрдЬреЗрдВ
рдЦреЛрдЬ рд╣рдЯрд╛рдПрдВ
рдЦреЛрдЬ рдмрдВрдж рдХрд░реЗрдВ
Google рдРрдк
рдореБрдЦреНрдп рдореЗрдиреНрдпреВ