Skip to content

feat: render markdown hooks in shortcodes#465

Open
GerkinDev wants to merge 1 commit into
zzossig:masterfrom
GerkinDev:feat/render-markdown
Open

feat: render markdown hooks in shortcodes#465
GerkinDev wants to merge 1 commit into
zzossig:masterfrom
GerkinDev:feat/render-markdown

Conversation

@GerkinDev
Copy link
Copy Markdown

Since v0.62, hugo added .Page.RenderString function. This function has a huge advantage over markdownify: it triggers markdown hooks, that can be used to customize how some elements are rendered (such as links).

This PR use the new method in shortcodes.

@GerkinDev GerkinDev changed the title feat: render markdown in shortcodes feat: render markdown hooks in shortcodes Mar 28, 2022
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

Successfully merging this pull request may close these issues.

1 participant