8000 Update references to render hooks · gohugoio/hugoDocs@bf42bbe · GitHub
[go: up one dir, main page]

Skip to content

Commit

Permalink
Update references to render hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
jmooring authored and bep committed Aug 12, 2024
1 parent 85a3d99 commit bf42bbe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion content/en/about/features.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ toc: true
: Leverage the embedded Markdown extensions to create tables, definition lists, footnotes, task lists, inserted text, mark text, subscripts, superscripts, and more.

[Markdown rende 8000 r hooks]
: Override the conversion of Markdown to HTML when rendering fenced code blocks, headings, images, and links. For example, render every standalone image as an HTML `figure` element.
: Override the conversion of Markdown to HTML when rendering blockquotes, fenced code blocks, headings, images, and links. For example, render every standalone image as an HTML `figure` element.

[Diagrams]
: Use fenced code blocks and Markdown render hooks to include diagrams in your content.
Expand Down
2 changes: 2 additions & 0 deletions content/en/render-hooks/introduction.md
< 4CC2 tr data-hunk="c30fe04d818a7325b483ff099b5808ecf643c4deaf16bc3d2f171ed2131922e7" class="show-top-border">
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ weight: 20

When rendering Markdown to HTML, render hooks override the conversion. Each render hook is a template, with one template for each supported element type:

- [Blockquotes](/render-hooks/blockquotes)
- [Code blocks](/render-hooks/code-blocks)
- [Headings](/render-hooks/headings)
- [Images](/render-hooks/images)
Expand Down Expand Up @@ -54,6 +55,7 @@ Each render hook is a template, with one template for each supported element typ
layouts/
└── _default/
└── _markup/
├── render-blockquote.html
├── render-codeblock.html
├── render-heading.html
├── render-image.html
Expand Down

0 comments on commit bf42bbe

Please sign in to comment.
0