Tweak scss-docs shortcode

Should work now with indented start/end capture statements
This commit is contained in:
XhmikosR 2021-01-20 12:00:57 +02:00
parent 88be1ce502
commit a1bb65ef49
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
{{- $strip_default := .Get "strip-default" | default "true" -}}
{{- $start := printf "// scss-docs-start %s\n" $name -}}
{{- $end := printf "\n// scss-docs-end %s" $name -}}
{{- $end := printf "// scss-docs-end %s" $name -}}
{{- $regex := printf "%s(.|\n)*%s" $start $end -}}
{{- $css := readFile $file -}}