Implement subscript

This ticks of the ~ which is also used for strikethrough ~~text~~,
so we hook into that function and perform the transformation.

Tests are also added.