feat(style): simplify blockquote style and rm fa-fw for fontawesome syntax (#257)
This commit is contained in:
@@ -53,7 +53,7 @@
|
||||
{{- end -}}
|
||||
|
||||
{{- /* clipboard.js */ -}}
|
||||
{{- if ne $params.copycode false -}}
|
||||
{{- if not $params.code | or (ne $params.code false) -}}
|
||||
{{- $source := $cdn.clipboardJS | default "lib/clipboard/clipboard.min.js" -}}
|
||||
{{- dict "source" $source "fingerprint" $fingerprint | dict "scratch" $.Scratch "data" | partial "scratch/script.html" -}}
|
||||
{{- $config = T "copyToClipboard" | dict "title" | dict "clipboard" | merge $config -}}
|
||||
|
||||
@@ -10,5 +10,5 @@
|
||||
{{- $content = replaceRE $REin $REout . -}}
|
||||
|
||||
{{- $REin = `:\(([\w- ]+?)\):` -}}
|
||||
{{- $REout = `<i class="$1 fa-fw"></i>` -}}
|
||||
{{- $REout = `<i class="$1"></i>` -}}
|
||||
{{- return replaceRE $REin $REout $content -}}
|
||||
|
||||
Reference in New Issue
Block a user