Fix internal link to slides.

This commit is contained in:
Yujie Wen 2015-09-08 14:02:46 +08:00
parent 558f9123bb
commit e279afd4b5
1 changed files with 2 additions and 1 deletions

View File

@ -796,7 +796,8 @@ the result is the Data URIs of the referenced image."
(org-reveal--format-image-data-uri link clean-path info)
(if want-embed-image
(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)
"Transcode a PLAIN-LIST element from Org to Reveal.