Part of Markdown Suite for Google Workspace™

Help & Documentation

Markdown Manager for Google Docs™

Getting started

Install the add-on from the Google Workspace Marketplace, then open any Google Doc. Go to Extensions → Markdown Manager for Google Docs™ → Open Markdown Manager to launch the panel.

The add-on reads the literal Markdown syntax in your document text (e.g. # heading, **bold**, - item). Google Docs ships with several auto-corrections enabled by default that silently rewrite this syntax as you type, removing the markers the add-on relies on.

Open Tools → Preferences in Google Docs and review the following options.

Required — turn off:

Recommended — turn off:

Sidebar overview

The sidebar displays a live structural tree of your document based on Markdown syntax. Headings, lists, code blocks, and tables are all detected automatically.

Navigating the document

Click any item in the sidebar tree to jump directly to that element in the document.

Reordering sections

Drag a heading node in the sidebar to move the corresponding section (and all its content) to a new position. This operation modifies the document and can be undone with Ctrl+Z / ⌘Z.

Markdown preview

Click the Markdown Preview button at the top of the sidebar to open a full-document preview rendered as formatted Markdown — with syntax-highlighted code blocks, tables, footnotes, Mermaid diagrams, and more.

Mermaid diagrams

Code blocks tagged mermaid are drawn as diagrams (see the Mermaid syntax reference). Every diagram type of Mermaid 12 is supported — flowcharts, sequence, class, state, entity-relationship, Gantt, pie, mind maps, timelines, Git graphs and more — except ZenUML, which is a separate plugin. Math in labels ($$…$$) and the ELK layout (layout: elk) work too.

Diagrams are drawn as they come into view, so a long document with many diagrams opens as quickly as one without; until then you see the diagram's source. They follow the light or dark theme (a theme set inside the diagram is ignored), and links in a diagram open in a new tab.

If a diagram contains an error, its source stays visible with Mermaid's error message underneath, which usually points to the line and position of the problem. Diagrams typed in Google Docs are often broken by its automatic corrections, so the message also links to the recommended settings above.

Zoom and pan

Hover over a diagram and click the expand button in its top-right corner (on touch screens the button sits below the diagram) to open it over the whole preview, where it stays sharp at any zoom level:

Diagrams are drawn in an isolated sandbox: they cannot run scripts or access the document or your account. Mermaid is downloaded only when a diagram is about to be shown.

Theme

Use the theme button in the sidebar footer to switch between three modes: System (follows your OS preference automatically), Light, and Dark. Your choice is saved per Google account and persists across sessions.

Known limitations

Multiple Google accounts in the same browser

If you are signed into multiple Google accounts in the same browser, the sidebar or preview dialog may fail to load with a "Page not found" or 404 error.

This is a known limitation of Google Apps Script that affects all web apps and add-ons built on the platform. When multiple accounts are active, Google's routing layer rewrites the app URL in a way that Apps Script cannot handle, and the request fails before the add-on code is even reached.

Workarounds:

Support

For questions or bug reports, open an issue on the GitHub issue tracker.