regebro / hovercraft

Make dynamic impressive presentations from text files!
https://hovercraft.readthedocs.org
MIT License
1.48k stars 209 forks source link

Attempt at supporting superscipt and subscript #215

Open romen opened 4 years ago

romen commented 4 years ago

XSLT was removing superscript/subscript, this commit is a first shot at trying to let them pass through the transformation to HTML.

https://docutils.sourceforge.io/docs/ref/rst/roles.html#superscript

I am not too familiar with XSLT, so this is just a hackish attempt, maybe there are more proper ways to solve this.

I welcome any feedback about it!