More a request than a question: would it be possible to have the ability to do superscript/subscript via BBCode in posts?
I've checked to see whether this was already implemented on the board, but unless there's a different [sup]Text[/sup] / [sub]Text[/sub] I'm missing somewhere, I would like to be able to do this
Superscript/subscript BBCode
-
- Posts: 951
- Joined: June 2nd, 2011, 5:28 pm
- Location: Tel Aviv, Israel
- Contact:
Re: Superscript/subscript BBCode
@S WalchS Walch wrote: ↑July 17th, 2021, 1:30 pm More a request than a question: would it be possible to have the ability to do superscript/subscript via BBCode in posts?
I've checked to see whether this was already implemented on the board, but unless there's a different [sup]Text[/sup] / [sub]Text[/sub] I'm missing somewhere, I would like to be able to do this
[sup]sup[/sup]text[sub]sub[/sub] → suptextsub
H[sub]2[/sub]O → H2O
I just threw this together really quick. It simply replaces [sup]/[sub] with <sup>/<sup> from HTML. Should be working for you. I wasn't aware that BBCode didn't have such an option. It should already have been written into the package!
I inserted a zero-width space into the tags in your OP so that it wouldn't look like you were requesting something that already existed on the forum.
Jason A. Hare
The Hebrew Café
Tel Aviv, Israel
The Hebrew Café
Tel Aviv, Israel
-
- Posts: 951
- Joined: June 2nd, 2011, 5:28 pm
- Location: Tel Aviv, Israel
- Contact:
Re: Superscript/subscript BBCode
@S Walch
By the way, thank you for using the [greek] code in your posts. It elevates the look of the text. ἐκεκελεύκη looks much better than ἐκεκελεύκη! Then again, the forum does handle Unicode Greek much better than it used to. I think the font that it uses by default has been updated to include the polytonic glyphs. I shouldn't complain about that. LOL
By the way, thank you for using the [greek] code in your posts. It elevates the look of the text. ἐκεκελεύκη looks much better than ἐκεκελεύκη! Then again, the forum does handle Unicode Greek much better than it used to. I think the font that it uses by default has been updated to include the polytonic glyphs. I shouldn't complain about that. LOL
Jason A. Hare
The Hebrew Café
Tel Aviv, Israel
The Hebrew Café
Tel Aviv, Israel
Re: Superscript/subscript BBCode
C2 700.* Superscript/Subscript test
Excellent! Thanks very much Jason
Will make formatting so much easier to read now
Excellent! Thanks very much Jason
Will make formatting so much easier to read now