redesign 2023
This commit is contained in:
5
themes/FixIt/layouts/partials/function/fraction.html
Normal file
5
themes/FixIt/layouts/partials/function/fraction.html
Normal file
@ -0,0 +1,5 @@
|
||||
{{- /* Fraction */ -}}
|
||||
{{- /* [A]/[B] -> <sup>A</sup>/<sub>B</sub> */ -}}
|
||||
{{- $REin := `\[(.+?)\]/\[(.+?)\]` -}}
|
||||
{{- $REout := `<sup>$1</sup>/<sub>$2</sub>` -}}
|
||||
{{- return replaceRE $REin $REout . -}}
|
Reference in New Issue
Block a user