mirror of
https://github.com/MohamedElashri/n-mermaid.git
synced 2026-06-21 18:10:10 -04:00
No description
- JavaScript 48.1%
- CSS 26.4%
- HTML 25.5%
| assets | ||
| index.html | ||
| LICENCE.md | ||
| README.md | ||
N-Mermaid
N-Mermaid is a static, browser-only Mermaid editor and viewer. It renders diagrams locally, stores your draft in the browser, and exports diagrams without a backend or build step.
Features
- Self-hosted Mermaid runtime pinned to
11.15.0 - Live or manual rendering
- Mermaid theme and look controls
- Built-in examples for common diagram types
- SVG and PNG export through browser APIs
- PDF output through the browser print dialog
- Source open, copy, and download actions
- Completely client-side
Usage
A hosted version of the application is available at https://melashri.net/n-mermaid.
To use the application locally:
- Clone the repository:
git clone https://github.com/MohamedElashri/n-mermaid.git - Open
index.htmlin your browser
No install step is required.
Hosting
The app is ready for GitHub Pages because it is plain HTML, CSS, and JavaScript. Serve the repository root as the Pages source.
Runtime
The only vendored JavaScript runtime is Mermaid:
assets/js/vendor/mermaid.min.js- Mermaid11.15.0
The UI and export logic are implemented in:
assets/css/styles.cssassets/js/app.js
Contributing
If you find any bugs or have suggestions for improvement, please open an issue or a pull request on the GitHub repository.
License
This project is released under the MIT License.