temporarily remove misinformation
This commit is contained in:
parent
4499869304
commit
22adcf0fb8
1 changed files with 0 additions and 43 deletions
43
README.org
43
README.org
|
|
@ -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
|
likely only contain the contents of the last block, which is expected
|
||||||
behaviour.
|
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
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue