Summary | Support for bullet, enumerated, definition lists |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Enhancement |
State | Rejected |
Priority | 1. Low |
Owners | |
Requester | lsmith (at) php (dot) net |
Created | 11/12/2007 (6422 days ago) |
Due | |
Updated | 05/26/2008 (6226 days ago) |
Assigned | |
Resolved | 05/26/2008 (6226 days ago) |
Milestone | |
Patch | No |
State ⇒ Rejected
the ezComponents version. Parsing rst is a pain in the a** and I see
no reason to re-implement it in PHP if someone else has already done
the work.
Priority ⇒ 1. Low
State ⇒ Accepted
working on completing this package since it has initially been
committed.
Priority ⇒ 3. High
Type ⇒ Enhancement
Summary ⇒ lists do not seem to be supported
Queue ⇒ Horde Framework Packages
State ⇒ New
require_once 'Text/reST/Formatter.php';
$string = "Here is a list
- foo
- bar
1. another list
1. still not working
1. this works
1. or does it?
";
$document = Text_reST::parse($string);
$formatter = Text_reST_Formatter::factory('html');
echo $formatter->format($document);