Skip to content

Commit

Permalink
feat: display markdown images by default and limit size (#347)
Browse files Browse the repository at this point in the history
  • Loading branch information
terlar committed Jun 14, 2024
1 parent 22e6625 commit e2c8be0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion init.org
Original file line number Diff line number Diff line change
Expand Up @@ -3621,10 +3621,13 @@ REPL for nodejs.
:mode
"\\.markdown\\'"
"\\.md\\'"
:hook
(markdown-mode-hook . markdown-display-inline-images)
:general
(:keymaps
'markdown-mode-map
:prefix local-leader-key
"i" 'markdown-toggle-inline-images
"v" 'markdown-toggle-markup-hiding)
:init
(setq markdown-enable-wiki-links t)
Expand All @@ -3634,7 +3637,8 @@ REPL for nodejs.
(setq markdown-italic-underscore t)
(setq markdown-blockquote-display-char '("┃" ">"))
(setq markdown-list-item-bullets '("⏺" "▪"))
(setq markdown-make-gfm-checkboxes-buttons t))
(setq markdown-make-gfm-checkboxes-buttons t)
(setq markdown-max-image-size '(1024 . 1024)))
#+end_src

*** Packages
Expand Down

0 comments on commit e2c8be0

Please sign in to comment.