Skip to content

Commit

Permalink
temporarily remove misinformation
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshmllow authored Jun 30, 2023
1 parent 4499869 commit 22adcf0
Showing 1 changed file with 0 additions and 43 deletions.
43 changes: 0 additions & 43 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -67,46 +67,3 @@ Tangles all blocks in range. If the range is NOT ~%~, the tangled file will
likely only contain the contents of the last block, which is expected
behaviour.

** Advanced Configuration
*** Adding extra org-mode languages

Your emacs ~init.el~ will be sourced during execution of ~:OrgExecute~ and
~:OrgTangle~, so packages you install there that provide extra babel
languages will be available!

Follow the package's installation steps, and if they tell you to include it in
~org-babel-load-languages~, additionally make sure that you include it in
~opts.langs~.

**** Example

As an example, lets add [[https://github.com/arnm/ob-mermaid][ob-mermaid]] for
mermaid functionality in ~orgmode-babel.nvim~!

First, lets create a =~/.emacs.d/init.el=.

#+begin_src emacs-lisp init.el
; ~/.emacs.d/init.el

; Add the melpa package manager
(require 'package)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/") t)
(package-initialize)

; Install ob-mermaid
(unless (package-installed-p 'ob-mermaid)
(package-install 'ob-mermaid))
#+end_src

Then, in our plugin configuration, we can add ~mermaid~ to our ~opts.langs~.

#+begin_src lua
{
"mrshmllow/orgmode-babel.nvim",
...
opts = {
langs = { ..., "mermaid" }
}
},
#+end_src

0 comments on commit 22adcf0

Please sign in to comment.