I’m writing a documentation theme and would like to add links from headings in my document to specific lines in Github, so that the page is most easily accessible.
The format is this is simply achieved by adding
#L23on the end of a Github URL.
Is there a way I can access the line number in Hugo? For example, in the
render-heading.html hook template?
Thanks for your help