Add furigana support

This commit is contained in:
Elnu 2022-06-10 20:17:56 -07:00
parent b6d8801727
commit 8165163089
3 changed files with 4 additions and 3 deletions

View file

@ -0,0 +1 @@
{{ replaceRE `\[([^\]]*)\]{([^\}]*)}` `<ruby lang="ja">$1<rp>(</rp><rt>$2</rt><rp>)</rp></ruby>` . | safeHTML }}