Home » Text » Text_Wiki » Bug #3579
Add 'subscript' rule
Details
| Request #3579 | Add 'subscript' rule |
|---|---|
| Submitted | 2005-02-24 14:50 UTC |
| From | ate2 at cornell dot edu |
| Assigned | pmjones |
| Status | Closed |
| Package | Text_Wiki |
| PHP Version | Irrelevant |
| OS | Irrelevant (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!