mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 07:05:51 +05:30
org-sliced-images creats bugs in my blog
This commit is contained in:
parent
19ad54ed9e
commit
2cd4662d06
|
@ -495,12 +495,6 @@ If the path from LINK does not exist, nil is returned."
|
||||||
:desc "Copy link/file at point into system clipbord (C-g to escape if copying a file)"
|
:desc "Copy link/file at point into system clipbord (C-g to escape if copying a file)"
|
||||||
"y y" 'org-copy-link-to-clipboard-at-point))
|
"y y" 'org-copy-link-to-clipboard-at-point))
|
||||||
|
|
||||||
(add-load-path! "~/.emacs.d/org-sliced-images")
|
|
||||||
(require 'org-sliced-images)
|
|
||||||
(defalias 'org-remove-inline-images #'org-sliced-images-remove-inline-images)
|
|
||||||
(defalias 'org-toggle-inline-images #'org-sliced-images-toggle-inline-images)
|
|
||||||
(defalias 'org-display-inline-images #'org-sliced-images-display-inline-images)
|
|
||||||
|
|
||||||
;; Online images inside of org mode is pretty cool
|
;; Online images inside of org mode is pretty cool
|
||||||
;; This snippit is from Tobias on Stack Exchange
|
;; This snippit is from Tobias on Stack Exchange
|
||||||
;; https://emacs.stackexchange.com/questions/42281/org-mode-is-it-possible-to-display-online-images
|
;; https://emacs.stackexchange.com/questions/42281/org-mode-is-it-possible-to-display-online-images
|
||||||
|
|
|
@ -602,7 +602,8 @@ fi
|
||||||
exit
|
exit
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
*** Org Sliced Images
|
*** Org Sliced Images
|
||||||
#+begin_src emacs-lisp :tangle config.el
|
#+begin_src emacs-lisp
|
||||||
|
;; this is kinda buggy
|
||||||
(add-load-path! "~/.emacs.d/org-sliced-images")
|
(add-load-path! "~/.emacs.d/org-sliced-images")
|
||||||
(require 'org-sliced-images)
|
(require 'org-sliced-images)
|
||||||
(defalias 'org-remove-inline-images #'org-sliced-images-remove-inline-images)
|
(defalias 'org-remove-inline-images #'org-sliced-images-remove-inline-images)
|
||||||
|
|
Loading…
Reference in a new issue