[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Smart processing of http(s) links
From: |
Kyle Meyer |
Subject: |
Re: Smart processing of http(s) links |
Date: |
Sun, 28 Jun 2020 17:02:10 -0400 |
Ag Ibragimov writes:
> Whenever I I use org-insert-link and it turns out to be a URI that
> starts with "https://github.com" I would like it to be processed
> differently than any other link, one example - if it is a PR or a
> Github Issue, I'd like it to fetch summary(title) of it and create a
> link that looks like this:
>
> [[https://github.com/user/repo/issues/3899][This issue needs to be fixed
> #3899]]
>
> Do we have any "built-in" mechanism for doing something like this? Can
> someone suggest how I can make it. Thank you!
You can set org-link-make-description-function to a function that
detects links of interest and generates a custom description.