Skip to Content
ProjectsMarkdown EditorOverview

Mendix Markdown Editor

A custom Studio Pro extension that adds native Markdown document support with GitHub Flavored Markdown (GFM) and Mermaid diagram rendering.

TL;DR: Create, edit, and preview Markdown documents directly in Mendix Studio Pro. Features Monaco editor for writing and live preview with Mermaid diagrams. Download it here to start documenting your Mendix projects.


Why Markdown in Studio Pro?

Documentation often lives outside your Mendix project - in Confluence, SharePoint, or scattered Word documents. This creates problems:

  • Documentation drift - Docs get outdated as the project evolves
  • Context switching - Developers leave Studio Pro to update docs
  • No version control - Documentation changes aren’t tracked with your project
  • Search limitations - Can’t search across code and docs together

The Markdown Editor brings documentation inside your Mendix project, where it belongs.


What It Does

FeatureDescription
Native IntegrationMarkdown documents appear in App Explorer with custom icons
Monaco EditorProfessional code editing with syntax highlighting (VS Code’s engine)
GFM SupportTables, task lists, strikethrough, autolinks, footnotes
Mermaid Diagrams18+ diagram types rendered inline
Offline SupportMonaco bundled locally, no CDN required
Auto-saveMendix handles save state (Ctrl+S, dirty indicators)
Undo/RedoFull support via Studio Pro’s native system

Download

Requirements:

  • Mendix Studio Pro 11.6 or higher
  • Extensibility setting must be enabled (see instructions below)

Download the extension

Studio Pro VersionDownload
11.6+mendix-markdown.zip

Extract to your project

Extract the zip file to your Mendix project’s extensions folder:

<YourMendixProject>/ └── extensions/ └── mendix-markdown/ ├── main.js ├── editor.js ├── mendix-markdown.css └── manifest.json

Example path: C:\Users\YourName\Mendix\MyProject-main\extensions\mendix-markdown\

Enable extensibility (if not already enabled)

  1. In Studio Pro, click EditPreferences
  2. Go to the Advanced tab
  3. Under “Extension Development”, check “Start Studio Pro in Extension Development Mode. Requires restart of Studio Pro.”
  4. Click OK
  5. Restart Studio Pro

Load the extension

Option 1: Restart Studio Pro

  1. Close Studio Pro completely
  2. Reopen your project

Option 2: Synchronize App Directory (faster!)

  1. In Studio Pro, go to AppSynchronize App Directory
  2. Wait for synchronization to complete

Start using it

  1. Right-click on a folder or module in App Explorer
  2. Select Add otherMarkdown
  3. Start writing!

Add Markdown document via Add other menu


How It Works

Architecture

┌─────────────────────────────────────────────────────────────┐ │ MENDIX STUDIO PRO │ ├─────────────────────────────────────────────────────────────┤ │ ┌─────────────────┐ ┌─────────────────────────────────┐ │ │ │ App Explorer │ │ Tab Editor │ │ │ │ │ │ ┌───────────────────────────┐ │ │ │ │ Domain │ │ │ EditorToolbar │ │ │ │ │ Pages │ │ │ [Edit] [Preview] toggle │ │ │ │ │ README ◄─┼────┼──┤───────────────────────────│ │ │ │ │ CHANGELOG │ │ │ │ │ │ │ │ │ │ │ MonacoEditor (Edit) │ │ │ │ └─────────────────┘ │ │ - or - │ │ │ │ │ │ MarkdownPreview (View) │ │ │ │ │ │ │ │ │ │ │ └───────────────────────────┘ │ │ │ └─────────────────────────────────┘ │ └─────────────────────────────────────────────────────────────┘

Edit Mode

The editor uses Monaco (the same engine as VS Code) with markdown-optimized settings:

  • Syntax highlighting for markdown
  • Word wrap enabled by default
  • Folding support for headers
  • Dark theme matching Studio Pro

Preview Mode

Click the Preview button to see rendered markdown with:

  • Full GitHub Flavored Markdown support
  • Live Mermaid diagram rendering
  • Styled code blocks with syntax highlighting
  • Clickable links and formatted tables

Supported Features

GitHub Flavored Markdown (GFM)

FeatureSyntaxExample
Bold**text**bold
Italic*text*italic
Strikethrough~~text~~strikethrough
Inline code`code`code
Tables| col | col |See below
Task lists- [x] doneCheckboxes
Autolinkshttps://...Auto-linked URLs
Footnotes[^1]Reference notes
Code blocks``` languageSyntax highlighted

Mermaid Diagrams

All major Mermaid diagram types are supported:

CategoryDiagram Types
FlowFlowchart, Sequence, State
StructureClass, ER, Block, Architecture
ProjectGantt, Timeline, Kanban
DataPie, XY Chart, Sankey, Quadrant
OtherMindmap, Git Graph, Journey, Requirement

Example: Flowchart

```mermaid flowchart TD A[Start] --> B{Is it working?} B -->|Yes| C[Great!] B -->|No| D[Debug] D --> B C --> E[End] ```

Example: Sequence Diagram

```mermaid sequenceDiagram participant User participant Browser participant Server User->>Browser: Click button Browser->>Server: HTTP Request Server-->>Browser: JSON Response Browser-->>User: Display data ```

Example: Entity Relationship

```mermaid erDiagram CUSTOMER ||--o{ ORDER : places ORDER ||--|{ LINE_ITEM : contains CUSTOMER { string name string email } ```

Use Cases

Perfect For

  • README files - Document your modules and microflows
  • Architecture docs - Use Mermaid for system diagrams
  • API documentation - Document integrations and endpoints
  • Changelogs - Track what changed between releases
  • Meeting notes - Keep project decisions in context
  • Technical specs - Write specs alongside implementation

Technology Stack

PackagePurpose
@mendix/extensions-apiStudio Pro integration
@monaco-editor/reactVS Code’s editor engine
@uiw/react-markdown-previewGFM-compliant rendering
mermaidDiagram generation
react + tailwindcssUI framework and styling

Built with Vite and TypeScript for fast, type-safe development.


Resources


Questions or feedback? Find me on LinkedIn  or email me at b.thomsin@gmail.com.