yomichan/tmpl/query-parser.html
2019-11-23 17:45:44 +02:00

24 lines
383 B
HTML

{{~#*inline "term"~}}
{{~#if preview~}}
<span class="query-parser-term-preview">
{{~else~}}
<span class="query-parser-term">
{{~/if~}}
{{~#each this~}}
{{> part }}
{{~/each~}}
</span>
{{~/inline~}}
{{~#*inline "part"~}}
{{~#if raw~}}
{{text}}
{{~else~}}
<ruby>{{text}}<rt>{{reading}}</rt></ruby>
{{~/if~}}
{{~/inline~}}
{{~#each terms~}}
{{> term preview=../preview }}
{{~/each~}}