mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-24 20:02:53 +01:00
Tweak scss-docs shortcode
Should work now with indented start/end capture statements
This commit is contained in:
parent
88be1ce502
commit
a1bb65ef49
@ -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 -}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user