mirror of
https://github.com/librephoenix/nixos-config
synced 2025-04-20 17:24:35 +05:30
Got mermaid diagrams working in emacs again
This commit is contained in:
parent
367447dcfa
commit
bd6047da23
|
@ -401,7 +401,7 @@ same directory as the org-buffer and insert a link to this file."
|
||||||
:image-data-fun #'org-image-link)
|
:image-data-fun #'org-image-link)
|
||||||
|
|
||||||
;; Mermaid diagrams
|
;; Mermaid diagrams
|
||||||
(setq ob-mermaid-cli-path "/usr/bin/mmdc")
|
(setq ob-mermaid-cli-path "~/.nix-profile/bin/mmdc")
|
||||||
|
|
||||||
;; Print org mode
|
;; Print org mode
|
||||||
(defun org-simple-print-buffer ()
|
(defun org-simple-print-buffer ()
|
||||||
|
|
|
@ -485,7 +485,7 @@ exit
|
||||||
*** Org Mermaid Diagrams
|
*** Org Mermaid Diagrams
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
;; Mermaid diagrams
|
;; Mermaid diagrams
|
||||||
(setq ob-mermaid-cli-path "/usr/bin/mmdc")
|
(setq ob-mermaid-cli-path "~/.nix-profile/bin/mmdc")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Org Simple Printing
|
*** Org Simple Printing
|
||||||
#+BEGIN_SRC emacs-lisp :tangle config.el
|
#+BEGIN_SRC emacs-lisp :tangle config.el
|
||||||
|
|
Loading…
Reference in a new issue