Merge pull request #1 from LNKHR/main

Fix kanji links, make kanji font worse on don't copy computer fonts section to make things more clear
rust
Elnu 3 years ago committed by GitHub
commit 8308a84853
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -84,9 +84,9 @@ However, this is not how we actually write the characters.
Some examples of this are:
- We don't connect き and さ
- We don't put the dakuten ( ゙ ) in the middle of a character like in で , but always at the top right
- We don't write 入 like... that
- We don't connect <span style="font-family: sans-serif"></span> and <span style="font-family: sans-serif"></span>
- We don't put the dakuten (<span style="font-family: sans-serif"></span>) in the middle of a character like in <span style="font-family: sans-serif"></span>, but always at the top right
- We don't write <span style="font-family: sans-serif"></span> like... that
You can compare this to how we don't write a Times New Roman "g" when handwriting in English.

@ -80,7 +80,7 @@
{{- range.text -}}
{{- if reflect.IsMap . -}}
{{- range $kanji, $furigana := . -}}
<a href="https://jisho.org/search/{{- $kanji -}} #kanji" target="_blank"><ruby>{{- $kanji -}}<rp>(</rp><rt>{{- $furigana -}}</rt><rp>)</rp></ruby></a>
<a href="https://jisho.org/search/{{- $kanji -}} %23kanji" target="_blank"><ruby>{{- $kanji -}}<rp>(</rp><rt>{{- $furigana -}}</rt><rp>)</rp></ruby></a>
{{- end -}}
{{- else -}}
{{- . -}}

Loading…
Cancel
Save