Skip to content

mdlink: Add option to send mobile-friendly link #33

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

L3viathan
Copy link

@L3viathan L3viathan commented Jun 13, 2025

When copying a message on mobile, you have to copy the entire message anyways, and then you have to remove the backticks. This option allows the link to be sent escaped instead of in backticks, i.e.,

    \[foo](http://bar.com)

instead of

    `[foo](http://bar.com)`
image

Opinions?

  • I currently don't escape the link itself (i.e., it remains clickable). I don't know if that's good or bad
  • Thoughts on the wording? Currently you can use m or mobile, but it's really only tangentially related to being for mobile apps. raw/r (it's not really raw)? escaped/e (the default is also escaped in a sense)?

When copying a message on mobile, you have to copy the entire message
anyways, and then you have to remove the backticks. This option allows
the link to be sent escaped instead of in backticks, i.e.,

        \[foo](http:\/\/bar.com)

instead of

        `[foo](http://bar.com)`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant