Add toc-org (analog of `markdown-toc`) package

Add support for toc-org
This commit is contained in:
Diego Berrocal 2015-06-08 16:07:43 -05:00 committed by syl20bnr
parent 41d41937e1
commit c969555b50
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,7 @@
org-pomodoro
org-present
org-repo-todo
toc-org
))
(defun org/init-evil-org ()
@ -194,6 +195,11 @@ Will work on both org-mode and any mode that accepts plain html."
(evil-leader/set-key-for-mode 'org-mode
"mgt" 'ort/goto-todos))))
(defun org/init-toc-org ()
(use-package toc-org
:init
(add-hook 'org-mode-hook 'toc-org-enable)))
(defun org/init-htmlize ()
(use-package htmlize
:defer t))