- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2019 10:33 AM
I am using markdown to include links urls. I am using the below markdown syntax:
[link text](http://example.com)
The issue is each time I click the linked text it opens the url in the same tab as the notebook. I want the url to open it in a new tab. The markdown syntax to open a new tab should be:
[link](url){:target="_blank"}
as per https://stackoverflow.com/questions/4425198/can-i-create-links-with-target-blank-in-markdown
However it does not work in databricks notebook. Is there another way to use markdown for creating new tabs for links or plans to support this in databricks?Accepted Solutions

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 10:25 AM
Hi @Ariel Herrera,
You can just put html anchor tag in databricks notebook cell. It will open a new tab when you click it.
Please try the example below. It works for me in databricks notebook.
%md <a href="https://google.com" target="_blank">google link</a>
After you run the cell, it gives you a link which opens a new tab when you click it.
Thanks.
Lei

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 10:25 AM
Hi @Ariel Herrera,
You can just put html anchor tag in databricks notebook cell. It will open a new tab when you click it.
Please try the example below. It works for me in databricks notebook.
%md <a href="https://google.com" target="_blank">google link</a>
After you run the cell, it gives you a link which opens a new tab when you click it.
Thanks.
Lei
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2019 10:41 AM
i was looking to see if it was possible with markdown instead of using html, but this works thank you!

