-
-
Notifications
You must be signed in to change notification settings - Fork 7.4k
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
Support markdown autolinks with Markdown Render Hooks #6667
Comments
Goldmark seems to support an even more freeform GFM autolinks without any delimiters https://github.github.com/gfm/#autolinks-extension- Also completely un-marked-up link is a convention for automated embeds and having them run through hook would be very powerful for that purpose. Think lone twitter link by itself getting turned into full embedded tweet. |
Thanks a lot for v0.63.0! This issue seems to be solved now, too—at least in all my use cases. |
It doesn't seem to be fixed for me. Autolinks still don't invoke the render hook... |
Towards #10 Note: autolinks bug prevents this getting used on them: gohugoio/hugo#6667
I am on 0.71 and it has not been fixed so far. |
0.80 is out and it still does not work. Workaround: if you want to use hook for adding " [markup]
defaultMarkdownHandler = "blackFriday"
[markup.blackFriday]
hrefTargetBlank = true |
To clarify, this is an autolink:
And with:
These are also autolinks:
|
Fixed with #8756 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Given this render-link.html code
Markdown auto links are currently not supported.
In:
Out:
In (works as expected):
Out:
Thank you!
The text was updated successfully, but these errors were encountered: