commit
ba01e7a4f1
3 changed files with 24 additions and 0 deletions
|
@ -58,3 +58,5 @@
|
|||
(when (featurep! +hugo)
|
||||
(package! ox-hugo
|
||||
:recipe (:host github :repo "kaushalmodi/ox-hugo" :nonrecursive t)))
|
||||
(when (featurep! :lang rst)
|
||||
(package! ox-rst))
|
||||
|
|
18
modules/lang/rst/config.el
Normal file
18
modules/lang/rst/config.el
Normal file
|
@ -0,0 +1,18 @@
|
|||
;;; lang/rst/config.el -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package! sphinx-mode
|
||||
:hook (rst-mode . sphinx-mode))
|
||||
|
||||
(use-package! rst
|
||||
:defer t
|
||||
:config
|
||||
(map! :localleader
|
||||
:map rst-mode-map
|
||||
(:prefix ("a" . "adjust")
|
||||
"a" #'rst-adjust
|
||||
"r" #'rst-adjust-region)
|
||||
(:prefix ("t" . "table of contents")
|
||||
"t" #'rst-toc
|
||||
"i" #'rst-toc-insert
|
||||
"u" #'rst-toc-update
|
||||
"f" #'rst-toc-follow-link)))
|
4
modules/lang/rst/packages.el
Normal file
4
modules/lang/rst/packages.el
Normal file
|
@ -0,0 +1,4 @@
|
|||
;; -*- no-byte-compile: t; -*-
|
||||
;;; lang/rst/packages.el
|
||||
|
||||
(package! sphinx-mode)
|
Loading…
Add table
Add a link
Reference in a new issue