New wiki markup for superscript and subscript
Closed, ResolvedPublic

Assigned To
None
Priority
Normal
Author
bzimport
Subscribers
wikibugs-l
Projects
Reference
bz3080
Description

Author: ui2t5v002

Description:
Typing x<sup>2</sup> is hard, and looks ugly in the markup. Let's borrow TeX
markup and make x^{2} mean the same thing. (Brackets would be mandatory, however.)

Examples:

x^{3} --> x<sup>3</sup> (powers)
CO_{2} --> CO<sub>2</sub> (carbon dioxide symbol)
1^{st} --> 1<sup>st</sup> (ordinals)
^{2}H_{2}O --> <sup>2</sup>H<sub>2</sub>O (isotopes)
y^{x^{2}} --> y<sup>x<sup>2</sup></sup> (nested powers)

I can't think of anything this would conflict with, can you?


Version: unspecified
Severity: enhancement

bzimport added a project: MediaWiki-Parser.Via ConduitNov 21 2014, 8:47 PM
bzimport added a subscriber: wikibugs-l.
bzimport set Reference to bz3080.
bzimport created this task.Via LegacyAug 9 2005, 4:17 AM
bzimport added a comment.Via ConduitAug 9 2005, 1:14 PM

zigger wrote:

*** This bug has been marked as a duplicate of 1894 ***

Add Comment