Also include the base path and the file path in highlight groups
Signed-off-by: Danila Fedorin <danila.fedorin@gmail.com>
This commit is contained in:
parent
8a5bbf460b
commit
e531ebd992
|
@ -1,5 +1,5 @@
|
|||
{{- if (or .firstLine .lastLine) -}}
|
||||
{{- page.Scratch.Set "highlightGroupAttrs" (printf "data-first-line=\"%v\" data-last-line=\"%v\"" .firstLine .lastLine) -}}
|
||||
{{- page.Scratch.Set "highlightGroupAttrs" (printf "data-first-line=\"%v\" data-last-line=\"%v\" data-base-path=\"%s\" data-file-path=\"%v\"" .firstLine .lastLine .basePath .path) -}}
|
||||
{{- end -}}
|
||||
{{- if eq .language "Agda" -}}
|
||||
{{- page.Scratch.Add "highlightGroupAttrs" " data-agda-block" -}}
|
||||
|
|
Loading…
Reference in New Issue
Block a user