Skip to content
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

Options to turn-off all or some autolinking features #6

Closed
4 tasks done
LukaszGrela opened this issue Jan 26, 2022 · 6 comments
Closed
4 tasks done

Options to turn-off all or some autolinking features #6

LukaszGrela opened this issue Jan 26, 2022 · 6 comments
Labels
👯 no/duplicate Déjà vu 👎 phase/no Post cannot or will not be acted on

Comments

@LukaszGrela
Copy link

Initial checklist

Problem

We would like to turn off all or some autolinking features, e.g. we love the url links but we dont need or desire the email autolinking.

Solution

It would be great if this would be possibile e.g. via options:

autolinking: "all"|"url"|"email"|"none"

Alternatives

don't really know, maybe writing the links in a way the plugin doesnt recognise it?

@github-actions github-actions bot added 👋 phase/new Post is being triaged automatically 🤞 phase/open Post is being triaged manually and removed 👋 phase/new Post is being triaged automatically labels Jan 26, 2022
@wooorm
Copy link
Member

wooorm commented Jan 26, 2022

  1. This package follows GFM. Why would you use this but not want to follow GFM. 🤷‍♂️
  2. What is so bad about emails be clickable?

@wooorm
Copy link
Member

wooorm commented Jan 26, 2022

And you can already turn off autolinking features. The syntax extensions are developed/released as separate packages.

@LukaszGrela
Copy link
Author

Ad. 2 Well, that's my requirement, no emails, but urls are fine, such weird business requirement. we're using remark-gfm which is using this micromark extension, and it is passing config, so it would be useful to have those options in such cases where one don't choose which plugins are used.
Ad. 1 GFM is not only about autolinking, I like GFM features but dont want some of the autolinking to work.

@wooorm
Copy link
Member

wooorm commented Jan 26, 2022

Well, that's my requirement, [...] such weird business requirement

I recommend going to your boss and mentioning that it is better in the long run to follow (pseudo-)standards than another custom flavor of markdown.

Duplicate of remarkjs/remark-gfm#34

@wooorm wooorm closed this as completed Jan 26, 2022
@wooorm wooorm added 👎 phase/no Post cannot or will not be acted on 👯 no/duplicate Déjà vu labels Jan 26, 2022
@github-actions

This comment has been minimized.

@github-actions github-actions bot removed the 🤞 phase/open Post is being triaged manually label Jan 26, 2022
@github-actions
Copy link

github-actions bot commented Jan 26, 2022

Hi team! It seems this post is a duplicate, but hasn’t been marked as such. Please post a comment w/ Duplicate of #123(no final .) to do so. See GH docs for more info.

Thanks,
— bb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👯 no/duplicate Déjà vu 👎 phase/no Post cannot or will not be acted on
Development

No branches or pull requests

2 participants