Skip to content

Commit e3fdf8c

Browse files
committed
Org: Convert html img to native org syntax
1 parent 040e5d0 commit e3fdf8c

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

org-mode/img

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@
33
# key: img
44
# uuid: img
55
# --
6-
<img src="$1"
7-
alt="$2" align="${3:left}"
8-
title="${4:image title}"
9-
class="img"
10-
</img>
11-
$0
6+
#+attr_html: :alt $2 :align ${3:left} :class img
7+
[[${1:src}]${4:[${5:title}]}]
8+
`%`$0

0 commit comments

Comments
 (0)