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

Allow link attributes in Markdown renderer #51

Open
nickjer opened this issue Jan 9, 2018 · 2 comments
Open

Allow link attributes in Markdown renderer #51

nickjer opened this issue Jan 9, 2018 · 2 comments

Comments

@nickjer
Copy link
Contributor

nickjer commented Jan 9, 2018

Should enable link attributes in the Markdown renderer:

:link_attributes: hash of extra attributes to add to links.

This would allow things like:

[my link](https://myawesome.link){:target="_blank"}

Update: The above won't work as :link_attributes: is a hash of attributes that are applied to all links.

┆Issue is synchronized with this Asana task by Unito

@nickjer
Copy link
Contributor Author

nickjer commented Jan 18, 2018

An alternative is to use https://kramdown.gettalong.org/ which is a superset of Markdown features that includes the above.

@ericfranz
Copy link
Contributor

Tiny Bonus: Kramdown is a pure ruby parser, so that gets rid of another native extension to build.

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

2 participants