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

Allowing custom target per link #291

Open
lpellegr opened this issue Feb 15, 2018 · 3 comments
Open

Allowing custom target per link #291

lpellegr opened this issue Feb 15, 2018 · 3 comments

Comments

@lpellegr
Copy link

lpellegr commented Feb 15, 2018

Kramdown supports custom target per link with their extensions syntax:

[link](url){:target="_blank"}

It would be really handy to have similar built-in support with remarkable.

Here are some references:

@lpellegr
Copy link
Author

A workaround is to enable HTML tags in the source but it does not fit all use cases.

@doowb
Copy link
Collaborator

doowb commented Feb 15, 2018

Thanks for the issue. I'll look into this some more to see if it should be supported directly in remarkable or if it should be a plugin (there might already be one out there). If this is added or if a plugin is built, then I think #292 and #293 should be handed using this syntax and we can add documentation around the security problem that you brought up in those issues.

@luckydonald
Copy link

https://www.npmjs.com/package/remarkable-extlink might be helpful

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

No branches or pull requests

3 participants