diff options
author | Brian Picciano <me@mediocregopher.com> | 2024-11-04 20:00:57 +0100 |
---|---|---|
committer | Brian Picciano <me@mediocregopher.com> | 2024-11-04 20:00:57 +0100 |
commit | 81bf0016b3a776732bba430872ce5719f3251e70 (patch) | |
tree | 33d922d3dd195193fceea4005f0d17bd823d5fdf /README.md | |
parent | 7ea9fb22ab67603f4bc6eb68b76c66177b434fe3 (diff) |
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -65,6 +65,17 @@ The template will be rendered with these extra data fields: * `.Body`: A string containing all rendered HTML DOM elements. +**heading_template** + +Path to a template which will be used for rendering headings. If not given then +headings will be rendered with appropriate HTML header tags. + +The template will be rendered with these extra data fields: + +* `.Level`: Which level of heading is being rendered, 1, 2, or 3. + +* `.Text`: The text of the heading. + **link_template** Path to a template which will be used for rendering links. If not given then |