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 link_target option to dcc.Markdown #1827

Closed
nopria opened this issue Nov 8, 2021 · 2 comments
Closed

Add link_target option to dcc.Markdown #1827

nopria opened this issue Nov 8, 2021 · 2 comments

Comments

@nopria
Copy link

nopria commented Nov 8, 2021

Since dash_table.DataTable already has a markdown_options that allows to easily change the link target behavior of Markdown inside DataTable, I think that even more so dcc.Markdown should have such a useful option.

The default link target behavior in HTML is _self, which opens the link in the same window. But most often you want the user to stay in your page, opening the link in a new window through the _blank HTML option.

Currently, to change the target behavior of a Markdown link you have to enable HTML inside Markdown, a cumbersome solution that poses security issues, as evident even from the name of the option which is dangerously_allow_html.

@aGitForEveryone
Copy link
Contributor

I'd like to support this feature. Would be very useful.

@alexcjohnson
Copy link
Collaborator

Closed by @adrianoesch in #2034 🎉

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