-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Allow markdown attribute lists to be used in render hooks #8270
Comments
bep
added a commit
to bep/hugo
that referenced
this issue
Feb 22, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Feb 23, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Feb 23, 2021
bep
added a commit
to bep/hugo
that referenced
this issue
Feb 23, 2021
bep
added a commit
that referenced
this issue
Feb 23, 2021
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. |
# for free
to subscribe to this conversation on GitHub.
Already have an account?
#.
Hugo 0.81 introduced attribute lists on markdown blocks like lists, tables etc in which the element's attributes would be defined in curly braces. For example, you could use them for headings:
This will render a heading like this:
There are also render hooks for some elements which let you modify how a link, heading or image is shown. Problem is that there is no way to use the attributes defined in the markdown attribute list inside a render hook.
It would be nice if there was a way to use the attributes defined in the attribute list in render hooks.
The text was updated successfully, but these errors were encountered: