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

Ability to open absolute links in a new tab? #71

Open
dray92 opened this issue May 21, 2024 · 1 comment
Open

Ability to open absolute links in a new tab? #71

dray92 opened this issue May 21, 2024 · 1 comment

Comments

@dray92
Copy link

dray92 commented May 21, 2024

I'm trying to get put some links that get opened in a new tab.

I tried putting {:target="_blank"} in the markdown, but that didn't work.

Ultimately, I'm trying to achieve the following...

  • Change an element to go from being rendered like this:

    <a class="underline underline-offset-2 text-primary hover:text-primary-700 transition-colors " href="https://devzero.io/dashboard">https://devzero.io/dashboard</a>
    
  • To being rendered like this (with a target="_blank"):

    <a class="underline underline-offset-2 text-primary hover:text-primary-700 transition-colors " href="https://devzero.io/dashboard" target="_blank">https://devzero.io/dashboard</a>
    
@Boonteang
Copy link

avatar (1)

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

2 participants