snudown
snudown copied to clipboard
Add additional superscripting support.
This PR enables the use of ^^(superscripting like this)
(renders as <sup><sup>superscripting like this</sup></sup>
).
It also enables the use of ^(superscripting ^(even higher) like this)
(renders as <sup>superscripting <sup>even higher</sup> like this</sup>
), which as a side effect enables brackets to be used inside of ^()
without the need to escape them.
This should be an easier alternative to people ^^^superscripting ^^^multiple ^^^times ^^^with ^^^multiple ^^^words ^^^like ^^^this
, and it kinda bugged me that such superscripting wasn't supported.
I too would like to see this added.
I have not looked at the ruling too hard, but does this support ^(text that)^(chains outside)^(the parenthesis?)
Not that it's even a big deal, but smooth if people are still used to ^chaining^words^like^so
It does not support that.
Oh, would you check that out! I posted a request for this over at /r/ideasfortheadmins after having it in the back of my head for months, and I'm glad to see I'm not the only one who's been thinking about it! Better yet, you've already written the code for it.
I'd like this too, and I'm sure most of reddit would benefit from it. Hope this gets a merge.
Adding my vote here; I've been wanting this "feature" for years now.
Is there any possible reason why this hasn't been done yet?