MyBB Community Forums

Full Version: super sub scripts
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Guys how do we write super and sub scripts inn the message box.

kris
krish Wrote:Guys how do we write super and sub scripts inn the message box.

kris
You have to put and activate the \[sub\](.*?)\[/sub\] and the \[sup\](.*?)\[/sup\]in the Custom MyCodes first. Please follow these steps:

- Go to your ACP => Message Filters => Custom MyCode
- Click Add MyCode
- MyCode title: Superscript
- Regular expression: \[sup\](.*?)\[/sup\]
- Replacement: <sup>$1</sup>
- Activate MyCode? set to Yes
- Click the Update MyCode button

Now in your post use these tags:

This is an example of [sup]Superscript[/sup]

Follow the same steps with the subscript and replace the "sup" with "sub".

You can always add other codes and use them in your forum editor.
Here you can find examples of such codes.

Best regards
thanks matty!