Commit f6e92925d93f
Changed files (2)
tools
emacs
config
tools/emacs/config/config-files.el
@@ -20,27 +20,6 @@
:disabled
:init (auto-image-file-mode))
-(use-package markdown-mode
- :disabled
- :mode ("\\.md\\'" . markdown-mode)
- :config
- (setq markdown-fontify-code-blocks-natively t)
-
- ;; Don't change font in code blocks
- (set-face-attribute 'markdown-code-face nil
- :inherit nil)
-
- ;; Process Markdown with Pandoc, using a custom stylesheet for nice output
- (let ((stylesheet (expand-file-name
- (locate-user-emacs-file "etc/pandoc.css"))))
- (setq markdown-command
- (mapconcat #'shell-quote-argument
- `("pandoc" "--toc" "--section-divs"
- "--css" ,(concat "file://" stylesheet)
- "--standalone" "-f" "markdown" "-t" "html5")
- " ")))
- (add-hook 'markdown-mode-hook #'auto-fill-mode))
-
(use-package highlight-indentation
:disabled
:config
tools/emacs/config/writing.el
@@ -0,0 +1,19 @@
+(use-package markdown-mode
+ :mode ("\\.md\\'" . markdown-mode)
+ :config
+ (setq markdown-fontify-code-blocks-natively t)
+
+ ;; Don't change font in code blocks
+ (set-face-attribute 'markdown-code-face nil
+ :inherit nil)
+
+ ;; Process Markdown with Pandoc, using a custom stylesheet for nice output
+ (let ((stylesheet (expand-file-name
+ (locate-user-emacs-file "etc/pandoc.css"))))
+ (setq markdown-command
+ (mapconcat #'shell-quote-argument
+ `("pandoc" "--toc" "--section-divs"
+ "--css" ,(concat "file://" stylesheet)
+ "--standalone" "-f" "markdown" "-t" "html5")
+ " ")))
+ (add-hook 'markdown-mode-hook #'auto-fill-mode))