diff options
author | Jay Kamat <jaygkamat@gmail.com> | 2017-08-22 17:28:28 -0400 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2017-08-22 23:44:23 +0200 |
commit | fc84ffee227dfbe6aad3315aa7654f2e6666266c (patch) | |
tree | 6e72949e86d2908d21d06625e7a8a2e2c9bf8ed8 | |
parent | 6980b02b6f592d948dc1b4394ccba882c2140907 (diff) | |
download | org-mode-fc84ffee227dfbe6aad3315aa7654f2e6666266c.tar.gz |
ox-md: Fix missing ':' in exported markdown image links
* lisp/ox-md.el (org-md-link): Append ':' to the type of non-file
image links.
-rw-r--r-- | lisp/ox-md.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/ox-md.el b/lisp/ox-md.el index 2762160..2478cc6 100644 --- a/lisp/ox-md.el +++ b/lisp/ox-md.el @@ -395,7 +395,7 @@ a communication channel." (org-export-get-reference destination info)))))))) ((org-export-inline-image-p link org-html-inline-image-rules) (let ((path (let ((raw-path (org-element-property :path link))) - (cond ((not (equal "file" type)) (concat type raw-path)) + (cond ((not (equal "file" type)) (concat type ":" raw-path)) ((not (file-name-absolute-p raw-path)) raw-path) (t (expand-file-name raw-path))))) (caption (org-export-data |