Hi,
I don’t know if maybe anyone suggested it, but I find it often usable when cross-linking to automagically generated headings:
{{- $s := (split (index .Params 0) "#") -}}
{{- if (isset $s 1) -}}
{{- index $s 1 | anchorize | print (index $s 0) "#" | ref . -}}
{{- else -}}
{{- index .Params 0 | ref . -}}
{{- end -}}
Then one can use it like:
{{< aref "12-concurrency#Transactional references" >}}
P.