omoidasu

a flashcard review system built on oboeru
git clone anongit@rnpnr.xyz:omoidasu.git
Log | Files | Refs | Feed | README | LICENSE

Commit: 49f64afb6725ce90c8059a3213bf9980134d471b
Parent: f352d55849f56ede1316fa89bf2f5af1735446c7
Author: Randy Palamar
Date:   Tue, 17 Aug 2021 21:58:14 -0600

update incorrect comment in rubify

Diffstat:
Mrubify | 7++-----
1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/rubify b/rubify @@ -2,8 +2,6 @@ # convert kanji reading pairs of the form [kanji:reading] to ruby text # ex: echo "[少女:しょうじょ]" | rubify -> <ruby>少女<rt>しょうじょ</rt></ruby> -# these can be produced with this hack: -# kakasi -JH -Fl":" -f -s -S"[" -i utf-8 | \ -# sed -e 's;^\(.\);\[\1;' -e 's;\[\([^]]*\[\);\1;g' +# these pairs can be produced with the furigana script -s;\[\([^]:]*\):\([^]]*\)\];<ruby>\1<rt>\2</rt></ruby>;g -\ No newline at end of file +s;\[\([^]:]*\):\([^]]*\)\];<ruby>\1<rt>\2</rt></ruby>;g