On the first introduction, I immediately found a bug.
Everything inside code blocks, like ` or ``` or <pre>
, should not be collapsed to Furigana shorthand. Otherwise, literal <元>[もと]
cannot be typed with the UserScript on.
The rendering still appears to be correct, though.