Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 702 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 702 Bytes

nano-mermaid

Syntax highlighting for the mermaid language in the nano code editor.

Installation

Run:

git clone https://github.com/Yash-Singh1/nano-mermaid.git
cd nano-mermaid/

Then run:

Ubuntu/Debian

sudo cp mermaid.nanorc /usr/share/nano/

Mac

sudo -i
mkdir /usr/local/share/nano/
echo 'include "/usr/share/nano/*.nanorc"' >> /etc/nanorc
cp mermaid.nanorc /usr/local/share/nano/

Windows

Note: Remember to run as administrator

cp mermaid.nanorc /usr/share/nano/

Usage

Creating and editing a .mermaid file should syntax highlight.