PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Text » Text_Wiki » Bug #3579

Add 'subscript' rule

Details

Request #3579Add 'subscript' rule
Submitted2005-02-24 14:50 UTC
Fromate2 at cornell dot edu
Assignedpmjones
StatusClosed
PackageText_Wiki
PHP VersionIrrelevant
OSIrrelevant (Deb sarge)
Roadmaps(Not assigned)

Comments

[2005-02-24 14:50 UTC] ate2 at cornell dot edu

Description:
------------
With support for superscripts it follows that subscripts should be supported as well. I developed a subscript rule from the superscript rule in about 15 minutes. Seems to work fine. Only problem is that a standard implementation in Text_Wiki might use a different pattern than what I chose (I did H--2--O to get the notation for water). It would be helpful if the notation to be used in future versions were at least fixed now, even if not implemented.

Reproduce code:
---------------
H--2--O

Expected result:
----------------
H<sub>2</sub>O

Actual result:
--------------
H--2--O

[2005-02-24 16:40 UTC] ate2 at cornell dot edu

Already beginning to see problems with --sub-- as a lot of people use -- in common text. Maybe ~~sub~~ would work better?

[2005-02-24 16:55 UTC] ate2 at cornell dot edu

The ,,double commas,, are fine with me!