Page MenuHomePhabricator

New wiki markup for superscript and subscript
Closed, ResolvedPublic

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

Details

Reference
bz3080

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:47 PM
bzimport added a project: MediaWiki-Parser.
bzimport set Reference to bz3080.
bzimport added a subscriber: Unknown Object (MLST).

zigger wrote:

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