[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] org-publish report error cond: Unknown language ‘sh’ at line 2 in ‘
From: |
stardiviner |
Subject: |
[O] org-publish report error cond: Unknown language ‘sh’ at line 2 in ‘ *temp*’ |
Date: |
Thu, 31 May 2018 08:19:34 +0800 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
When org file use `#+begin_src sh` instead of `#+begin_src shell`. org-publish
report error:
: cond: Unknown language ‘sh’ at line 2 in ‘ *temp*’
I'm sure I loaded (shell . t) babel language.
Here is my config:
,----
| (setq org-babel-load-languages
| '((org . t) ; Org-mode
| (shell . t) ; Shell Script
| (calc . t) ; Calc
| ))
|
| ;;; [ ob-shell ]
| (require 'ob-shell)
| (add-to-list 'org-babel-load-languages '(shell . t))
| (org-babel-do-load-languages 'org-babel-load-languages
org-babel-load-languages)
| (add-to-list 'org-babel-tangle-lang-exts '("shell" . "sh"))
`----
--
[ stardiviner ] don't need to convince with trends.
Blog: https://stardiviner.github.io/
IRC(freenode): stardiviner
GPG: F09F650D7D674819892591401B5DF1C95AE89AC3
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] org-publish report error cond: Unknown language ‘sh’ at line 2 in ‘ *temp*’,
stardiviner <=