No problem. I usually use lambda functions there, but if you use
functions like you have the quoted form is right. Glad it was helpful!
Milan Zimmermann writes:
> Great, thanks very much John.
>
> As a minor note I had to make a slight change
>
> (org-link-set-parameters
> "img"
> :follow
Great, thanks very much John.
As a minor note I had to make a slight change
(org-link-set-parameters
"img"
:follow 'org-custom-link-img-follow ; my old code
:export 'org-custom-link-img-export) ; my old code
And then it works equivalent with the previous version in 8.
Thanks
Milan
You can find a many examples of the new link syntax here:
http://kitchingroup.cheme.cmu.edu/blog/2016/11/04/New-link-features-in-org-9/
You will probably be able to reuse much of your old code and this:
(org-link-set-parameters
"img"
:follow (your-old-follow-code)
:export
Hi:
I have a question about how to define custom link type, which before
9.0 used the (9.0) deprecated `org-add-link-type`.
1. Let me first provide the context:
There is often a need to generate, for org links export/publish to
Html, elements where img src URL starts with a slash, like this