From 49ef82c18a592ebabc7cd6b87242167b432cb195 Mon Sep 17 00:00:00 2001 From: Emmet Date: Mon, 29 May 2023 09:06:42 -0500 Subject: [PATCH] Got mermaid diagrams working in emacs again --- user/app/doom-emacs/config.el | 2 +- user/app/doom-emacs/doom.org | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/user/app/doom-emacs/config.el b/user/app/doom-emacs/config.el index 1cebfd27..dd10fbec 100644 --- a/user/app/doom-emacs/config.el +++ b/user/app/doom-emacs/config.el @@ -401,7 +401,7 @@ same directory as the org-buffer and insert a link to this file." :image-data-fun #'org-image-link) ;; Mermaid diagrams -(setq ob-mermaid-cli-path "/usr/bin/mmdc") +(setq ob-mermaid-cli-path "~/.nix-profile/bin/mmdc") ;; Print org mode (defun org-simple-print-buffer () diff --git a/user/app/doom-emacs/doom.org b/user/app/doom-emacs/doom.org index a9b3bf03..9644de17 100644 --- a/user/app/doom-emacs/doom.org +++ b/user/app/doom-emacs/doom.org @@ -485,7 +485,7 @@ exit *** Org Mermaid Diagrams #+BEGIN_SRC emacs-lisp :tangle config.el ;; Mermaid diagrams -(setq ob-mermaid-cli-path "/usr/bin/mmdc") +(setq ob-mermaid-cli-path "~/.nix-profile/bin/mmdc") #+END_SRC *** Org Simple Printing #+BEGIN_SRC emacs-lisp :tangle config.el