Compare commits
2 Commits
d3c55eb86d
...
ef080422a0
Author | SHA1 | Date | |
---|---|---|---|
ef080422a0 | |||
881454f3d5 |
@ -1822,7 +1822,9 @@ git -C ~/VCS/engrave-faces-fork branch -a
|
||||
:END:
|
||||
|
||||
[[info:magit#Top][Magit (info)]] is an Emacs interface to the version control system [[https://git-scm.com/book/en/v2][Git]] and the
|
||||
snippet [[lst:ensure-magit-installation][below]] ensures its installation.
|
||||
snippet [[lst:ensure-magit-installation][below]] ensures its installation. Magit usage tips are:
|
||||
1. [[https://stackoverflow.com/questions/tagged/magit?tab=Votes][Most upvoted Magit questions on Stack Overflow]].
|
||||
2. [[https://stackoverflow.com/a/33644270][Abort an active rebase]] by pressing {{{kbd(r a)}}}.
|
||||
|
||||
#+caption[Ensure =Magit= installation]:
|
||||
#+caption: Ensure =Magit= installation
|
||||
|
@ -52,7 +52,8 @@
|
||||
(if a (org-my-html-export-to-html t s v b)
|
||||
(org-open-file (org-my-html-export-to-html nil s v b)))))))
|
||||
:options-alist
|
||||
'((:my-html-embed-svg "HTML_EMBED_SVG" nil nil t))
|
||||
'((:with-html-svg-embedding "HTML_EMBED_SVG" ;; groks nil as "nil" in Org file!
|
||||
"html-embed-svg" org-html-embed-svg))
|
||||
:translate-alist
|
||||
'((link . org-my-html-link)))
|
||||
|
||||
@ -61,9 +62,13 @@
|
||||
|
||||
;;;; Links :: Embed SVG
|
||||
|
||||
(defcustom org-my-html-embed-svg t
|
||||
(defcustom org-html-embed-svg nil
|
||||
"Non-nil means embed SVG images into exported my-HTML pages,
|
||||
otherwise link to SVG images from exported my-HTML pages."
|
||||
otherwise link to SVG images from exported my-HTML pages. Use
|
||||
#+OPTIONS: html-embed-svg:t
|
||||
or
|
||||
#+OPTIONS: html-embed-svg:nil
|
||||
to enable or disable SVG embedding in Org files."
|
||||
:group 'org-export-html
|
||||
:version "30.0"
|
||||
:type 'boolean)
|
||||
@ -171,7 +176,7 @@ contrary to `org-html-link' which can only link such images."
|
||||
;; Link type is handled by a special function.
|
||||
((org-export-custom-protocol-maybe link desc 'html info))
|
||||
;; Embed SVG.
|
||||
((and (plist-get info :my-html-embed-svg)
|
||||
((and (plist-get info :with-html-svg-embedding)
|
||||
(org--my-html-embed-svg-p link))
|
||||
(org--my-html-svg-contents path))
|
||||
;; Image file.
|
||||
|
Loading…
x
Reference in New Issue
Block a user