summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authornoa2024-12-26 14:40:53 +0800
committernoa2024-12-26 14:40:53 +0800
commit365f81c81b9a511613359abadcdc89856718a945 (patch)
tree699f1a55290033bb22232fefdbae0fc7b214efd1 /emacs
parenta3bb78b0f0ca55528406425ed3751aebabc7b229 (diff)
Ensure inline images aren't too large in markdown
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 292dac5..78cbb63 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -189,6 +189,7 @@
   (markdown-enable-html nil) ; I don't believe markdown should have html
   (markdown-hide-urls t) ; Make inline urls look a bit neater
   (markdown-url-compose-char ?~)
+  (markdown-max-image-size '(640 . 480))
 
   ;; :hook ((markdown-mode . noa/set-buffer-name-to-markdown-title))
   )