[PR #2714] [CLOSED] Added Mermaid to MarkdownIt editor #6049

Closed
opened 2026-02-05 10:23:23 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/BookStackApp/BookStack/pull/2714
Author: @cadavre
Created: 4/27/2021
Status: Closed

Base: masterHead: feature/mermaid


📝 Commits (1)

  • bac3a3b Added Mermaid to MarkdownIt editor

📊 Changes

3 files changed (+7134 additions, -231 deletions)

View changed files

📝 package-lock.json (+7131 -231)
📝 package.json (+1 -0)
📝 resources/js/components/markdown-editor.js (+2 -0)

📄 Description

This is really a simple PR with addition of Mermaid into MarkdownIt editor, that BookStack is using.

It allows to create Mermaid diagrams via Markdown with specific syntax.

This is a preview of how it works:

Zrzut ekranu 2021-04-27 o 14 19 00

This addresses #495 and #566 .


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/BookStackApp/BookStack/pull/2714 **Author:** [@cadavre](https://github.com/cadavre) **Created:** 4/27/2021 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feature/mermaid` --- ### 📝 Commits (1) - [`bac3a3b`](https://github.com/BookStackApp/BookStack/commit/bac3a3b7e5bbee50f9d5a1285c603ba757697b3c) Added Mermaid to MarkdownIt editor ### 📊 Changes **3 files changed** (+7134 additions, -231 deletions) <details> <summary>View changed files</summary> 📝 `package-lock.json` (+7131 -231) 📝 `package.json` (+1 -0) 📝 `resources/js/components/markdown-editor.js` (+2 -0) </details> ### 📄 Description This is really a simple PR with addition of [Mermaid](https://mermaid-js.github.io/) into MarkdownIt editor, that BookStack is using. It allows to create Mermaid diagrams via Markdown with specific syntax. This is a preview of how it works: <img width="2043" alt="Zrzut ekranu 2021-04-27 o 14 19 00" src="https://user-images.githubusercontent.com/461796/116243260-11fa0480-a767-11eb-8563-5cbd52436f99.png"> This addresses #495 and #566 . --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-05 10:23:23 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#6049