use LoveIt theme, self hosted
This commit is contained in:
parent
bcafaafff8
commit
e9ec93a471
1973 changed files with 54578 additions and 15688 deletions
5
themes/LoveIt/layouts/partials/function/fraction.html
Normal file
5
themes/LoveIt/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 . -}}
|
Loading…
Add table
Add a link
Reference in a new issue