Add furigana support
This commit is contained in:
parent
b6d8801727
commit
8165163089
3 changed files with 4 additions and 3 deletions
1
layouts/partials/content.html
Normal file
1
layouts/partials/content.html
Normal file
|
@ -0,0 +1 @@
|
|||
{{ replaceRE `\[([^\]]*)\]{([^\}]*)}` `<ruby lang="ja">$1<rp>(</rp><rt>$2</rt><rp>)</rp></ruby>` . | safeHTML }}
|
Reference in a new issue