mirror of https://github.com/yjwen/org-reveal.git
Fix internal link to slides.
This commit is contained in:
parent
558f9123bb
commit
e279afd4b5
|
@ -796,7 +796,8 @@ the result is the Data URIs of the referenced image."
|
||||||
(org-reveal--format-image-data-uri link clean-path info)
|
(org-reveal--format-image-data-uri link clean-path info)
|
||||||
(if want-embed-image
|
(if want-embed-image
|
||||||
(error "Cannot embed image %s" raw-path)
|
(error "Cannot embed image %s" raw-path)
|
||||||
(org-html-link link desc info)))))
|
(replace-regexp-in-string "<a href=\"#" "<a href=\"#/slide-"
|
||||||
|
(org-html-link link desc info))))))
|
||||||
|
|
||||||
(defun org-reveal-plain-list (plain-list contents info)
|
(defun org-reveal-plain-list (plain-list contents info)
|
||||||
"Transcode a PLAIN-LIST element from Org to Reveal.
|
"Transcode a PLAIN-LIST element from Org to Reveal.
|
||||||
|
|
Loading…
Reference in New Issue