mirror of
https://github.com/matrix-org/matrix-spec
synced 2026-03-28 22:14:10 +01:00
Apply suggestions
Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
parent
869ca5786b
commit
c5cbfba878
|
|
@ -1 +1,11 @@
|
|||
{{- /*
|
||||
|
||||
This is a heading render hook (https://gohugo.io/render-hooks/headings/)
|
||||
using Docsy's heading self-links hook (https://www.docsy.dev/docs/adding-content/navigation/#heading-self-links).
|
||||
|
||||
This is used when a heading is encountered in markdown content to generate
|
||||
the HTML for that heading. A self-link anchor is added at the end of the
|
||||
heading.
|
||||
|
||||
*/ -}}
|
||||
{{ template "_default/_markup/td-render-heading.html" . }}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
{{- /*
|
||||
|
||||
A copy of the private "_default/_markup/_td-heading-self-link.html" template
|
||||
in Docsy's "_default/_markup/_td-render-heading.html" partial to be able to
|
||||
reuse it when the title has custom markup.
|
||||
A simplified copy of the inlined "_default/_markup/_td-heading-self-link.html"
|
||||
template in Docsy's "_default/_markup/td-render-heading.html" template to be
|
||||
able to reuse it when the heading has custom markup.
|
||||
|
||||
Takes a string which is the ID of the heading.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue