hypertext icon indicating copy to clipboard operation
hypertext copied to clipboard

Add links as footnotes

Open atymic opened this issue 1 year ago • 2 comments

Hey!

Our use case for this package is transforming user supplied rich text into plain text for platform that do not support HTML. Keeping links is the goal, but we can't use HTML. Would you accept a PR for creating footnotes with the links?

Something similar to what most mail clients do https://help.icontact.com/customers/s/article/Links-and-Footnotes-in-Plain-Text-Emails

atymic avatar Feb 17 '25 23:02 atymic

Hey @atymic,

Would converting the links into markdown work for your use-case? I.e.:

[Example Link](https://example.com)

stevebauman avatar Feb 18 '25 00:02 stevebauman

Hey @stevebauman Hmm, that could work. i'll have a test with the calendar platforms and see :)

atymic avatar Feb 18 '25 00:02 atymic