Skip to content

arnm/mermaid-layer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

mermaid-layer

Spacemacs layer to initialize ob-mermaid.

Usage

  1. Clone layer into ~/.emacs.d/private:
    git clone git@github.com:arnm/mermaid-layer.git ~/.emacs.d/private/mermaid
        
  2. Add mermaid layer to dotspacemacs-configuration-layers
  3. Specify mmdc executable path:
    (setq ob-mermaid-cli-path "/your-installating-path/node_modules/.bin/mmdc")
        
  4. Open org-mode buffer and create a org-babel source block:
    sequenceDiagram
    A-->B: Works!
        
    Loading
  5. Exporting the org-mode document or invoking the org-babel-execute-src-block function to generate diagram.

About

Spacemacs layer for ob-mermaid

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages