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

Add {:target="_blank"} to Toggle hyperlink #33

Open
lgallard opened this issue Oct 19, 2017 · 5 comments
Open

Add {:target="_blank"} to Toggle hyperlink #33

lgallard opened this issue Oct 19, 2017 · 5 comments

Comments

@lgallard
Copy link

Hi @mdickin,

I'm using kramdown and I would like to add {:target="_blank"} at the end of links using yourToggle hyperlink command, to have something like this:

[Some text](https://example.com/link){:target="_blank"}

Can I achieve this with an option of your extension? If the answers is no, can you add this feature to your extension?

Thanks in advance!

@mdickin
Copy link
Owner

mdickin commented Oct 19, 2017

This is not currently possible with the extension. However, I could see adding a setting for "hyperlink format" that you could override to append {:target="_blank"}, would that work? I'm not sure how else to do it, as this is not typical Markdown syntax.

@lgallard
Copy link
Author

It could work for me. I know it's not the standard markdown. Where can set the "hyperlink format"? I couldn't find it in the markdown or editor settings.

Thanks in advance!

@mdickin
Copy link
Owner

mdickin commented Oct 19, 2017

It's not currently possible. This would be an enhancement to the extension.

@lgallard
Copy link
Author

It would be perfect!

Thanks!

@mysterioux
Copy link

yep this is needed badly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants