40 Commits
Author SHA1 Message Date
Joe Mooring fd628be6ed content: Replace calls to the code shortcode with fenced code blocks 2025-03-06 02:49:11 -08:00
Joe Mooring b6cae5cbc6 content: Consolidate configuration documentation 2025-03-05 04:50:06 -08:00
Joe Mooring 0fca8ef251 all: Change shortcode usage and design to prevent invalid HTML 2025-02-17 00:38:33 -08:00
Bjørn Erik Pedersen eb5842566f Some content adjustments
* Remove linkTitle: In this section
* documentation.md => list layout
* hide_in_this_section: true => glossary.
2025-02-11 16:30:05 +01:00
Joe Mooring 367d3a7ab8 Improve new-in shortcode 2025-01-31 20:05:57 -08:00
Joe Mooring 69d7a781b4 Replace links to glossary terms with custom render hook syntax
For example: [scalar](/getting-started/glossary/#scalar) => [scalar](g)
2025-01-20 00:26:38 -08:00
Joe Mooring cd95f0f34e Update link render hook to support glossary links 2025-01-19 16:40:42 -08:00
Joe Mooring 1d40a7f3b8 Improve transform.ToMath examples 2025-01-18 18:38:33 -08:00
Joe Mooring 8051ff818e Format directory names, file names, and file paths as code 2025-01-16 21:31:21 -08:00
Joe Mooring 4429eeeea8 Update image render hooks examples to conform with Commonmark 2025-01-07 18:10:30 -08:00
Joe Mooring 5391dddeac Add class attribute to heading render hook examples 2025-01-07 08:56:25 -08:00
Joe Mooring 34b30bad25 Remove indentation from include shortcode examples 2024-12-20 08:56:38 -08:00
Joe Mooring 2f1843d10a Use .Page.GetPage in examples of an include shortcode 2024-12-17 12:04:41 -08:00
Joe Mooring b7716ed95c Revise code block render hook for Mermaid diagrams 2024-11-23 10:31:00 -08:00
Joe Mooring 1985886bd9 Adjust front matter of shared Markdown snippets 2024-11-19 18:02:30 -08:00
Bjørn Erik Pedersen 76a9f90b2d Update passthrough.md
Closes #2752
2024-10-31 08:27:39 +01:00
Joe Mooring cb3cb504c1 Update table render hook example
See https://github.com/gohugoio/hugo/pull/12889
2024-09-29 16:12:59 -07:00
Joe Mooring ccb1b97cbb Update blockquotes.md 2024-09-04 09:44:54 -07:00
Joe Mooring de3c756942 Clarify blockquote render hook Markdown syntax 2024-09-03 10:11:46 -07:00
Joe Mooring d32f7856d1 Document change to data type returned by render hook Text methods
See https://github.com/gohugoio/hugo/pull/12813.
2024-09-03 12:36:57 +02:00
Joe Mooring 83fe7ccc38 Document table render hooks
See https://github.com/gohugoio/hugo/pull/12809.
2024-09-03 12:36:57 +02:00
Bjørn Erik Pedersen a583640a09 Add support for Obsidian type blockquote alerts
* Make the alert type parsing more flexible to support more types
* Add `AlertTitle` and `AlertSign` (for folding)

Note that GitHub will not render callouts with alert title/sign.

See https://help.obsidian.md/Editing+and+formatting/Callouts

Closes #12805
Closes #12801
2024-09-01 18:12:26 +02:00
Joe Mooring 2f793d3284 Document passthrough render hooks 2024-08-13 17:24:01 +02:00
Bjørn Erik Pedersen 2c137cb48e Update blockquotes.md
Add PageInner
2024-08-12 22:06:12 +02:00
Joe Mooring e0fa2f0d1d Add new-in badge to blockquote render hook page 2024-08-12 12:19:07 -07:00
Joe Mooring bf42bbe6b1 Update references to render hooks
https://gohugo.io/about/features/#content-authoring
https://gohugo.io/render-hooks/introduction/
2024-08-12 21:06:53 +02:00
Joe Mooring 2dae721287 Document blockquote render hooks 2024-08-12 18:50:17 +02:00
Cyrus Yip 0300750f21 Improve example of image render hook 2024-07-25 07:33:21 -07:00
Joe Mooring 7764005c31 Improve example of render hook directory structure 2024-06-26 09:34:02 -07:00
Joe Mooring eace2624aa Fix PageInner reference links 2024-04-16 08:57:14 -07:00
Joe Mooring 961639dfa4 Document additional changes in v0.125.0 2024-04-16 08:31:10 -07:00
Joe Mooring 29f4dde191 Rename section menu entries from "Overview" to "In this section" 2024-03-10 09:18:39 -07:00
Joe Mooring c4611eab52 Rework introduction to templating 2024-03-08 19:26:17 -08:00
Joe Mooring c11c8e0da1 Fix link to embedded code block render hook for GoAT diagrams 2024-02-20 16:38:43 -08:00
Joe Mooring c60cd20a87 Capitalize the word Markdown throughout the documentation
Closes #2435
2024-02-19 19:07:38 +01:00
Joe Mooring f9b5938dde Create links to referenced embedded templates
Closes #2370
2024-02-19 19:07:38 +01:00
Joe Mooring a3184764d7 Provide examples of content rendering before accessing Scratch or Store
Closes #2402
2024-02-19 19:07:38 +01:00
Joe Mooring c89cf2baa0 More updates for v0.123.00
Closes #2385
Closes #2421
2024-02-19 19:07:38 +01:00
Joe Mooring b8d5383f71 Replace links to variable pages with links to method pages
See #2196
2024-02-19 19:07:38 +01:00
Joe Mooring ad4a124c0c Updates for v0.123.0
See #2385
2024-02-19 19:07:38 +01:00