gdoc pulls Google Docs into your project as clean Markdown, extracts images, and renders everything with 11 professional themes. Automatically.
Your team writes in Google Docs because that's where collaboration happens. But your Unity project needs those docs as local files — for reference, for onboarding, for AI agents that read your codebase.
So someone copies. Pastes. Reformats. Extracts images manually. Does it again next week when the doc changes. Over time, local docs drift from their source. New team members can't tell which version is current.
The problem isn't the writing. It's the absence of a pipeline between where you write and where you need it.
gdoc exports Google Docs via their public Markdown endpoint, normalizes the output, and keeps everything organized. No API keys. No OAuth. No build step.
Add Google Doc URLs or document IDs to a centralized settings asset. Set your output directory. Toggle auto-pull on editor startup.
gdoc downloads each doc as Markdown, normalizes line endings, and extracts base64 images to organized folders. Files are named from the doc title. Status and errors are tracked per source.
Open any .md file in the built-in viewer. Full GFM rendering with sidebar navigation, document outline, and your choice of 11 themes.
Full GitHub Flavored Markdown rendering with headings, code blocks, tables, blockquotes, task lists, alerts, clickable links, and inline HTML — all themed.
The system uses a ComponentPool<T> to manage entity lifecycle. See the Architecture Overview for the full dependency graph.
var entity = pool.Get();
entity.Initialize(spawnPoint.position);
entity.OnDespawn += () => pool.Return(entity);
gdoc is editor-only by design. No runtime overhead. No build impact. No external dependencies.
Pulls on editor startup with a configurable minimum interval. Batch all sources or sync individually. Tracks timestamps and errors per document.
Detects base64-encoded images in Google Doc exports and saves them to organized folders alongside each document. No manual work required.
Tables with column alignment, fenced and indented code blocks, task lists, nested blockquotes, strikethrough, GitHub-style alerts, and inline HTML tags.
External URLs open in your browser. Relative .md paths open in the viewer. Multi-link paragraphs show a dropdown. Bare URLs and emails auto-link.
Toggleable sidebar with document outline, project-wide file browser, pinned favorites, and recent files. Resizable between 140-500px.
Select any .md file in the Project window — a "View as Markdown" button appears in the Inspector. Access settings and sync from the xrcadia menu.
8 dark themes. 3 light themes. Built on an Open-Closed architecture — add your own without touching the renderer. Click any swatch to try it.
includePlatforms: ["Editor"]. Zero code ships in your player build. Zero runtime overhead.MarkdownTheme, implement the 16 color properties, add it to the registry. No changes to rendering code required.Add the package via Unity Package Manager using the git URL, or add it directly to your project's manifest.
// Packages/manifest.json → "dependencies" "com.xrcadia.gdoc": "https://github.com/xrcadia/gdoc.git"
Or copy the gdoc/ folder directly into your project's Packages/ directory.