MyBB Community Forums

Full Version: Subscript and Superscript
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Simple Mycode for formating text, mostly used in formulas.

Subscript

Title: Subscript
Description: Lowers the given text.
Regular Expression:
\[sub\](.*?)\[/sub\]

Replacement:
<sub>$1</sub>

Syntax:
[sub]Subscripted Text[/sub]

Demo: http://betarelease.net/showthread.php?ti...132#pid132



Superscript

Title: Superscript
Description: Raises the given text.
Regular Expression:
\[sup\](.*?)\[/sup\]

Replacement:
<sup>$1</sup>

Syntax:
[sup]Superscripted Text[/sup]

Demo: http://betarelease.net/showthread.php?ti...132#pid132