mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-08-22 04:19:05 +00:00
* contrib/lisp/org-element.el (org-element-object-restrictions): Allow plain links in link description. * contrib/lisp/org-export.el (org-export-default-inline-image-rule): New variable. (org-export-inline-image-p): Use rules instead of extensions. A rule is a regexp applied to path for a given type of link. It allows to extend inline images to non-local files. * EXPERIMENTAL/org-e-latex.el (org-e-latex-inline-image-rules): New variable. (org-e-latex-inline-image-extensions): Removed variable There are two motivations behind this change. The first one is to allow, for example, an HTML exporter to define a rule like the following: ("http" . "\\.\\(png\\|jpg\\|jpeg\\|gif\\)\\(\\?\\(\\w+=\\w+&?\\)*\\)?") The other one is to properly define thumbnails (clickable images), like the following: [[http://orgmode.org][file:~/my-logo.png]] |
||
---|---|---|
.. | ||
org-e-ascii.el | ||
org-e-latex.el | ||
org-e-publish.el |