mirror of
https://github.com/dillonzq/LoveIt.git
synced 2024-11-22 23:08:17 +01:00
14 lines
440 B
HTML
14 lines
440 B
HTML
{{- /* Font Awesome */ -}}
|
|
{{- /* :(far fa-circle): -> <i class="far fa-circle fa-fw"></i> */ -}}
|
|
|
|
{{- $REin := ` (:\([\w- ]+?\):)` -}}
|
|
{{- $REout := ` $1` -}}
|
|
{{- $content := replaceRE $REin $REout . -}}
|
|
|
|
{{- $REin = `(:\([\w- ]+?\):) ` -}}
|
|
{{- $REout = `$1 ` -}}
|
|
{{- $content = replaceRE $REin $REout . -}}
|
|
|
|
{{- $REin = `:\(([\w- ]+?)\):` -}}
|
|
{{- $REout = `<i class="$1"></i>` -}}
|
|
{{- return replaceRE $REin $REout $content -}}
|