{{- /* Font Awesome */ -}} {{- /* :(far fa-circle): -> */ -}} {{- $REin := `:\(([\w- ]+?)\):` -}} {{- $REout := `` -}} {{- $content := replaceRE $REin $REout . -}} {{- /* Ruby */ -}} {{- /* [EN]^(English) -> EN */ -}} {{- $REin = `\[(.+?)\]\^\((.+?)\)` -}} {{- $REout = `$1` -}} {{- $content = replaceRE $REin $REout $content -}} {{- /* Checkbox */ -}} {{- $REin = `` -}} {{- $REout = `` -}} {{- $content = replaceRE $REin $REout $content -}} {{- /* Checkbox checked */ -}} {{- $REin = `` -}} {{- $REout = `` -}} {{- $content = replaceRE $REin $REout $content -}} {{- /* Fix [return] */ -}} {{- $REin = `\[return\]` -}} {{- $REout = `↩︎` -}} {{- $content = replaceRE $REin $REout $content -}} {{- /* Dummy target */ -}} {{- $REin = `<(h[23456]) (id=".+?")>` -}} {{- $REout = `<$1>` -}} {{- $content = replaceRE $REin $REout $content -}} {{- /* Dummy target */ -}} {{- $REin = `<(.+) (id="fnref:.+?")>` -}} {{- $REout = `<$1>` -}} {{- $content = replaceRE $REin $REout $content -}} {{- /* Dummy target */ -}} {{- $REin = `
` -}} {{- $REout = `
` -}} {{- $content = replaceRE $REin $REout $content -}} {{- return $content -}}