From bf42bbe6b182422841545f3901d39e88aef09e1c Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Mon, 12 Aug 2024 12:03:05 -0700 Subject: [PATCH] Update references to render hooks https://gohugo.io/about/features/#content-authoring https://gohugo.io/render-hooks/introduction/ --- content/en/about/features.md | 2 +- content/en/render-hooks/introduction.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/content/en/about/features.md b/content/en/about/features.md index cb710aa4b..835384723 100644 --- a/content/en/about/features.md +++ b/content/en/about/features.md @@ -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 render 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. diff --git a/content/en/render-hooks/introduction.md b/content/en/render-hooks/introduction.md index 8268b2ec7..103d9a84e 100755 --- a/content/en/render-hooks/introduction.md +++ b/content/en/render-hooks/introduction.md @@ -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) @@ -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