by sieve · 1y ago · 0 comments
I am building a sanskrit reader[1] and needed a feature that allowed users to tag words with notes/meaning. ruby annotations work wonderfully for that.
[1] Site: https://www.adhyeta.org.in/
Backend: https://github.com/s-i-e-v-e/adhyeta
(The vocabulary features require a login, which is not open to the public as of yet.)
This is how the interface looks like/works, when logged in.
https://www.adhyeta.org.in/a/images/z85.png (ruby annotations can be seen floating above the source text)
https://www.adhyeta.org.in/a/images/z88.png
The "app" is laid out exactly the same way as the www version is. The only difference is that it provides tools to manipulate the status of words. Login is required because vocabulary progress has to be tracked on a per-user basis.
[1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ru...
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/rp