redesign 2023
This commit is contained in:
5
themes/FixIt/layouts/partials/function/ruby.html
Normal file
5
themes/FixIt/layouts/partials/function/ruby.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{- /* Ruby */ -}}
|
||||
{{- /* [EN]^(English) -> <strong><ruby>EN<rt>English</rt></ruby></strong> */ -}}
|
||||
{{- $REin := `\[(.+?)\]\^\((.+?)\)` -}}
|
||||
{{- $REout := `<strong><ruby>$1<rt>$2</rt></ruby></strong>` -}}
|
||||
{{- return replaceRE $REin $REout . -}}
|
Reference in New Issue
Block a user