Export fuzzy link as image/figure directive

This commit is contained in:
IGARASHI Masanao
2014-11-16 09:40:37 +09:00
parent 0c4f0bf040
commit de95b71ae2

View File

@@ -134,10 +134,11 @@ When nil, an anchor with reference is used to link to the image."
:type 'boolean) :type 'boolean)
(defcustom org-rst-inline-image-rules (defcustom org-rst-inline-image-rules
'(("file" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\)\\'") '(("file" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\|svg\\|svgz\\|swf\\)\\'")
("http" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\)\\'") ("fuzzy" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\|svg\\|svgz\\|swf\\)\\'")
("https" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\)\\'")) ("http" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\|svg\\|svgz\\|swf\\)\\'")
"Rules characterizing image files that can be inlined into HTML. ("https" . "\\.\\(jpeg\\|jpg\\|png\\|gif\\|svg\\|svgz\\|swf\\)\\'"))
"Rules characterizing image files that can be inlined into reStructuredText.
A rule consists in an association whose key is the type of link A rule consists in an association whose key is the type of link
to consider, and value is a regexp that will be matched against to consider, and value is a regexp that will be matched against
link's path." link's path."