Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Mybb MyCode - Subscript and Superscript
#1
Simple Mycode for formating text, mostly used in formulas.

Subscript

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

Replacement:
Code:
<sub>$1</sub>

Syntax:
Code:
[sub]Subscripted Text[/sub]

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



Superscript

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

Replacement:
Code:
<sup>$1</sup>

Syntax:
Code:
[sup]Superscripted Text[/sup]

Demo: http://betarelease.net/showthread.php?ti...132#pid132
Robert Picard
http://www.rpicard.net
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  How To Install MyBB | MyBB Installation Guide BreShiE 2 1,416 03-10-2012, 06:33 AM
Last Post: BreShiE
  [TUT] How to make a MyCode [MyBB] Laughynose 10 4,737 07-30-2011, 04:36 PM
Last Post: Kewlz
  MyBB question @OMNI or any other mybb Guru's 0xE9 13 29,605 07-28-2011, 01:29 PM
Last Post: Pompano
  How to Make your MYBB Central Plugin Compatible with new Mybb Billy Mays 3 2,133 07-12-2011, 06:40 PM
Last Post: Billy Mays
  Mybb MyCode - MyThumb RPicard 2 1,140 12-19-2009, 08:25 PM
Last Post: RPicard

Forum Jump:


Users browsing this thread: 1 Guest(s)