summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-02-01 10:46:02 +0200
committerThanos Apollo <[email protected]>2023-02-01 10:46:02 +0200
commit46336d24d394c6b54f5eaec951fda0c0ac3f7016 (patch)
tree9b4900272e13842387c64f8fc9112de5c7131b83
parent6794058ff2626bf71187979c6b0f49d7be6bcb64 (diff)
org-config: Add scaling for markdown
-rw-r--r--.emacs.d/snippets/org-config.el15
1 files changed, 15 insertions, 0 deletions
diff --git a/.emacs.d/snippets/org-config.el b/.emacs.d/snippets/org-config.el
index 0b2cd61..6e73844 100644
--- a/.emacs.d/snippets/org-config.el
+++ b/.emacs.d/snippets/org-config.el
@@ -143,3 +143,18 @@
(org-babel-tangle))))
(add-hook 'org-mode-hook (lambda () (add-hook 'after-save-hook #'apollo/org-babel-tangle-config)))
+
+(defun apollo/markdown-theme ()
+ (interactive)
+ (dolist
+ (face
+ '(markdown-header-face-1 :height 2.0))))
+
+(setq markdown-header-scaling t)
+
+
+(use-package markdown-mode
+ :ensure t
+ :mode (".md" . gfm-mode)
+ :init (setq markdown-command "multimarkdown"))
+