emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* link to magnet URL in org-mode?
@ 2023-05-15 12:55 Guillaume MULLER
  2023-05-15 16:13 ` Max Nikulin
  0 siblings, 1 reply; 2+ messages in thread
From: Guillaume MULLER @ 2023-05-15 12:55 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org


[-- Attachment #1.1.1: Type: text/plain, Size: 317 bytes --]

Hello,

I maintain a list of links in an org-file. I wanted to export it as HTML file for a colleague, but I got the following error:

   Unable to resolve link: "magnet:?xt=urn:..."

What would be the correct way of linking to a magnet link in an org-mode file ?

Thanks in advance

-- 
Guillaume MULLER

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 673 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: link to magnet URL in org-mode?
  2023-05-15 12:55 link to magnet URL in org-mode? Guillaume MULLER
@ 2023-05-15 16:13 ` Max Nikulin
  0 siblings, 0 replies; 2+ messages in thread
From: Max Nikulin @ 2023-05-15 16:13 UTC (permalink / raw)
  To: Guillaume MULLER, emacs-orgmode@gnu.org

On 15/05/2023 19:55, Guillaume MULLER wrote:
> I maintain a list of links in an org-file. I wanted to export it as HTML 
> file for a colleague, but I got the following error:
> 
>    Unable to resolve link: "magnet:?xt=urn:..."
> 
> What would be the correct way of linking to a magnet link in an org-mode 
> file ?

You need to define :export property for magnet links. See 
`org-link-set-parameters' and (info "(org) Adding Hyperlink Types")
https://orgmode.org/manual/Adding-Hyperlink-Types.html



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-15 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-15 12:55 link to magnet URL in org-mode? Guillaume MULLER
2023-05-15 16:13 ` Max Nikulin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).