Org html: add scss save hook, make css and reload
This commit is contained in:
parent
fa3aff5b3d
commit
8e512c703b
|
@ -1,4 +1,5 @@
|
|||
.*
|
||||
!.dir-locals.el
|
||||
_minted-config
|
||||
abbrev.el
|
||||
config.*
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
;;; Directory Local Variables
|
||||
;;; For more information see (info "(emacs) Directory Variables")
|
||||
|
||||
((scss-mode . ((after-save-hook . (lambda ()
|
||||
(shell-command-to-string "sassc main.scss main.css")
|
||||
(org-html-reload-fancy-style))))))
|
Loading…
Reference in New Issue