# D2 lang Editor for Confluence

> Edit and preview D2 diagrams directly on Confluence pages

Canonical page: [https://chrome-stats.com/d/d2-lang-editor-for-confluence](https://chrome-stats.com/d/d2-lang-editor-for-confluence)

## Overview

- **ID:** `d2-lang-editor-for-confluence`
- **Platform:** Firefox
- **Type:** Firefox add-on
- **Status:** Available
- **Publisher:** Oleg Veschin
- **Category:** web-development
- **Daily users:** 1
- **Version:** 0.1.0
- **Last updated:** 2026-02-14
- **First published:** 2026-02-11
- **Size:** 1.75 MB
- **Data as of:** 2026-09-11
- **Store listing:** [Firefox Add-ons Store](https://addons.mozilla.org/firefox/addon/d2-lang-editor-for-confluence/)
- **Website:** [https://github.com/veschin/d2-web-extension](https://github.com/veschin/d2-web-extension)
- **Privacy policy:** [https://addons.mozilla.org/firefox/addon/d2-lang-editor-for-confluence/privacy/](https://addons.mozilla.org/firefox/addon/d2-lang-editor-for-confluence/privacy/)

## Description

A browser extension that adds inline D2 diagram editing to Confluence. Click any D2 macro to open a full-featured editor with live SVG preview, syntax highlighting, autocomplete, and error diagnostics - all without entering Confluence's page editor.

Features:
  - Edit D2 macros in both view and edit mode
  - Live preview with zoom and pan
  - Syntax highlighting and autocomplete powered by tree-sitter
  - Reference library for reusable D2 blocks with drag-and-drop
  - Standalone editor for diagrams outside Confluence
  - SVG and PNG export
  - Draft auto-save
  - Works with any self-hosted D2 server
  - Supports Confluence Cloud, Data Center, and self-managed instances

## Rankings

- #117,145 — Overall
- #234 — editor

## Permissions and access

### Permissions

- `activeTab`
- `storage`

### Host permissions

- `*://*/*`

### Content script matches

- `*`

## Safety

- **Risk impact:** Moderate risk impact
- **Risk likelihood:** Moderate risk likelihood

### Analysis details

- Allows access to all websites, posing a significant security risk as it can monitor and modify data from any visited site.
- This extension has low user count. Unpopular extensions may not be stable or safe.

> Some risk analysis details are omitted from this free response. [Upgrade to view the full analysis](https://chrome-stats.com/pricing).

## Similar extensions and apps

- [Markdown Diagrams](https://chrome-stats.com/d/markdown-diagrams) — 269 users, 5.00 / 5
- [Light MD Viewer](https://chrome-stats.com/d/light-md-viewer) — 28 users, 5.00 / 5
- [Atlassian Mermaid Viewer](https://chrome-stats.com/d/atlassian-mermaid-viewer) — 6 users
- [Dango - Concept Board](https://chrome-stats.com/d/dango-canvas) — 1 users
- [Markdown Live Editor](https://chrome-stats.com/d/markdown-live-editor) — 3 users, 5.00 / 5
- [Design Mode](https://chrome-stats.com/d/design-mode-add-on) — 17 users
- [D2 - Developer Documentation](https://chrome-stats.com/d/d2-developer-documentation) — 7 users, 5.00 / 5
- [scrapbox-diagramsnet-extension](https://chrome-stats.com/d/scrapbox-diagramsnet-extension) — 1 users
- [Markdown Editor V2](https://chrome-stats.com/d/markdown-editor-v2) — 2 users
- [wikidot2](https://chrome-stats.com/d/wikidot2)
- [Draw.io MCP Extension](https://chrome-stats.com/d/drawio-mcp-extension) — 189 users
- [Open in Mermaid editor](https://chrome-stats.com/d/open-in-mermaid-editor) — 41 users

---

Source: [Chrome-Stats](https://chrome-stats.com/d/d2-lang-editor-for-confluence)
