BoboTiG / ebook-reader-dict

Finally decent dictionaries based on the Wiktionary for your beloved eBook reader. Daily updates & 13 languages supported so far.
http://www.tiger-222.fr/?d=2020/04/17/22/14/21-un-dictionnaire-alternatif-et-complet-pour-votre-liseuse
MIT License
408 stars 24 forks source link

[EN] Support 'nuclide' and 'frac' templates #437

Closed lasconic closed 3 years ago

lasconic commented 3 years ago

Wikicode:

{{nuclide|230|90|Th}}

Output:

Expected:

<sup>230</sup><sub style="margin-left:-2.3ex;">90</sub>C

Model link, if any: https://en.wiktionary.org/wiki/Template:nuclide

lasconic commented 3 years ago

dicthtml-en.zip

I tested the html / css syntax on Kobo with Georgia. It works. @BoboTiG Could you test with FreeSerif if you are still using it ?

lasconic commented 3 years ago

Same for "frac" template. The attached dictionary contains "ell" and "ionium". Both work ok on a vanilla kobo with the latest firmware. dicthtml-en.zip

BoboTiG commented 3 years ago

I'll try it tomorrow 👍

BoboTiG commented 3 years ago

It renders well 👍

screen_011 screen_012