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.
Recommended Google Docs settings
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:
- Enable Markdown — the most important one. With this on, Google Docs converts Markdown shortcuts into native Docs formatting while you type, leaving no Markdown syntax for the add-on to detect.
- Use smart quotes — replaces straight quotes (
",') with curly ones, which breaks code spans, fenced code blocks, and link titles. - Automatically detect lists — converts
- itemand1. iteminto native Docs list items instead of leaving the marker as text. - Automatic substitution (in the Substitutions tab) — replaces character sequences while you type:
-->becomes →,--becomes –,---becomes —,(c)becomes © and so on. This breaks Mermaid arrows, horizontal rules, setext headings and table separators. If you prefer to keep it on, paste such lines instead of typing them: a pasted-->is replaced only if you type a space or press Enter right after it.
Recommended — turn off:
- Automatically detect links — can interfere with
[label](url)syntax by turning the URL into an active link mid-typing. - Insert emojis using the colon character — replaces
:shortcode:sequences with emoji characters. - Automatically correct spelling and Automatically capitalize words — useful for prose, but can mangle code, technical identifiers, and deliberate Markdown markers.
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:
- Move — drag with the mouse or a finger, or use the arrow keys.
- Zoom — mouse wheel, trackpad or touch pinch, double-click, the zoom buttons at the bottom, or the + / - keys.
- Fit — the fit button or 0 shows the whole diagram again.
- Close — the close button or Esc.
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:
- Open the document in an incognito window (or private browsing) where only the desired account is signed in.
- Use a separate Chrome profile for each Google account.
- Sign out of all other accounts and sign in only with the account you want to use.
Support
For questions or bug reports, open an issue on the GitHub issue tracker.