δΈζθ―΄ζ | English
The ultimate native Markdown editor for Unity. Fast, beautiful, and deeply integrated.
Have you ever endured these "absurd moments" with Unity documentation?
- Writing a Shader note feels like playing a "window-switching game"βflicking between Unity, VS Code, and Typora, missing the right file three times in a row. (I'm here to develop games, not work as a full-time window switcher!)
- The reference images you insert are either so big they take over the screen or so small they turn into pixel blobs. Tweaking their size makes you want to slam your mouse. (Does this image have a mind of its own? Is it that hard to fit properly?)
- Collaborating on docs feels like a "file relay race"βyou send Version 2, someone edits Version 3, and soon your folder is stuffed with "Note V1 to V8." No one knows which is the latest. (This isn't documentationβit's a "document family pack"!)
- You try adding a table to record parameters, but the columns are as lopsided as a wind-tousled fence. Fixing alignment takes 10 minutesβharder than teaching a newbie to tweak a Shader. (Is a neat table really that much to ask for?)
- And the most frustrating one: You stay up late writing Character Skill Logic.md, but when the game designer opens it, they're staring at a screen full of
# * - |like it's Morse code. Finally, they hold up their phone and ask: "Am I supposed to decode this?" (I wrote a document, not an encrypted telegram!)
UniMarkdown is built specifically to solve these documentation headaches for Unity developers. As a Unity-native Markdown toolkit, it doesn't just let you double-click to open .md files directly in the Editorβit also renders them in real time into a "symbol-free, clean version" (headings auto-bolded, tables neatly aligned, images clearly displayed). Most importantly:
Even non-technical teammates (who know nothing about Markdown) can understand the well-formatted docs just by opening Unity. No extra software to install, no syntax to learnβgoodbye to the communication waste where "you write it for nothing, they read it for nothing."
From "you write comfortably but others can't understand" to "the whole team reads easily," UniMarkdown turns documentation into a collaboration boosterβinstead of a barrier between departments.
- π Native Integration: More than just an editor, it seamlessly blends with your Unity workflow (double-click to open, Inspector previews).
- β‘ High Performance: Built with compiled Regex and object pooling to handle large documents smoothly without editor lag.
- π§© Highly Extensible: Easily add custom syntax highlighters and element renderers to meet your team's specific needs.
- π« Familiar Feel: A perfect replica of the GitHub style you know and love, with consistent theming.
- π± Editor & Preview: A standalone editor window and live previews directly within the Inspector.
- π Workflow Integration: Supports opening
.mdfiles directly with a double-click. - π¨ GitHub Style: Automatically adapts to the Unity editor's dark/light themes.
- π Full Syntax Support: Headers, lists, task lists, code blocks, quotes, images, links, and more.
- π― Extended Syntax:
- Image size control (
=300x200,{width=50%}, etc.). - Advanced formatting and custom extensions.
- Image size control (
- π» Enhanced Code Blocks:
- Syntax highlighting for multiple languages (C#/JSON built-in, extensible).
- One-click copy button with an animated confirmation.
- π High Performance: Core parsing logic is optimized to minimize GC Alloc.
- π§ Easy to Extend: Modular renderer and syntax highlighting systems.
| Metric | Status | Details |
|---|---|---|
| Unity Version | β | 2021.3+ LTS |
| Editor Performance | β | < 1ms parsing, GC-optimized |
| File Size Support | β | Tested up to 10MB+ documents |
| Theme Compatibility | β | Auto-adapts to Dark/Light |
| Platform Support | β | Editor-only, all Unity platforms |
- Open Unity β Window β Package Manager
- Click the + button β "Add package from git URL..."
- Enter:
https://github.com/QueCue/UniMarkdown.git?path=src - Click Add and wait for Unity to import
Benefits: Easy updates, clean project structure, automatic dependency management
To Update: Select UniMarkdown in Package Manager β Click Update
- Download or clone this repository
- Copy
src/Editorfolder toAssets/UniMarkdown/in your Unity project - Unity will automatically detect and compile the package
Use case: When you need to modify the source code directly
- Inspector Preview: Select any
.mdfile in Project window to see live preview - Editor Window: Window β UniMarkdown (if available) for dedicated editing
- Double-click: Open
.mdfiles directly (when configured)
- Renderers: add a class under
ElementRenderers/inheritingBaseElementRenderer, then register it inElementRendererFactory(element type β renderer). - Syntax highlighting: implement
ISyntaxHighlightingand register it inSyntaxManager(see built-ins for C#/JSON).
Tips: keep GUI paths allocation-free and reuse styles via MarkdownStyleManager.
- Text Formatting: Text, Bold, Italic, BoldItalic
- Headers: H1-H6 with styling
- Line Breaks: Soft line break / Hard line break
- Dividers: Horizontal rules
- Lists: Unordered/ordered lists with nesting support
- Task Lists: Interactive checkboxes with nesting
- Links: Internal and external linking
- Images: Full support with size parameters (
=300x200,{width=50%}) - Code Blocks: Syntax highlighting (C#/JSON built-in, extensible)
- Inline Code: Styled code snippets
- Tables: Complete table rendering with column alignment, header styling, borders, and responsive layout
- Enhanced Text: Emoji support, Strikethrough
- Code Improvements: Line numbers for code blocks
- Rich Blocks: Blockquote, Footnotes
- Advanced: Callout/Admonition blocks (tip/note/warning)
- Diagrams: Mermaid support (via external rendering)
We welcome contributions from the community! Here's how you can help:
- π Bug Reports: Found an issue? Open an issue
- π‘ Feature Requests: Have an idea? We'd love to hear it!
- π§ Pull Requests: Code contributions are welcome (discuss major changes first)
- β Star the Project: If UniMarkdown helps you, please give us a star!
- Changelog:
CHANGELOG.md|CHANGELOG.zh.md - License: MIT License
- Version:
0.2.0-Preview(Unity 2021.3+)
UniMarkdown - The Markdown Companion for Unity Developers



