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

Link open in new tab #40

Open
jomellelastrilla opened this issue Jun 8, 2021 · 3 comments
Open

Link open in new tab #40

jomellelastrilla opened this issue Jun 8, 2021 · 3 comments

Comments

@jomellelastrilla
Copy link

How to make links to open in new tab or window?

@alitnk
Copy link

alitnk commented Jun 9, 2021

I'm currently looking for that too,
I guess a combination of #16 (comment) and https://github.com/markdown-it/markdown-it/blob/master/docs/architecture.md#renderer will do.

@alitnk
Copy link

alitnk commented Jun 9, 2021

https://github.com/d-darwin/darwin-vue-ui/blob/main/src/mixins/linkClickRouting.js
This would also work, with the same domain check.

@iparker
Copy link

iparker commented Oct 8, 2021

I'm tried to use https://www.npmjs.com/package/@gerhobbelt/markdown-it-attrs for this and it seems to be a good solution.

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