Re: PEPr layout mechanism change?
| From: | Paul M Jones | Date: | Mon, 19 Apr 2004 14:51:02 +0000 |
| Subject: | Re: PEPr layout mechanism change? | ||
| References: | 1 2 3 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-28038@lists.php.net to get a copy of this message | ||
On Apr 19, 2004, at 8:09 AM, Aidan Lister wrote:
I refer people to the BBCode package all the time, unless Text_Wiki can exactly replicate what BBCode does, I'd prefer to keep BBcode.It can exactly replicate what BBCode, but the syntax is different. (If I wrote a BBCode rule-set for Text_Wiki, it could do it with the same syntax, too, but I don't expect to do that any time soon -- volunteers? ;-) For example, BBCode uses [i]emphasis[/i], while Text_Wiki uses //emphasis//. BBCode does unordered lists like this: [ulist] [li]item 1[/li] [li]item 2[/li] [li]item 3[/li] [/list] And Text_Wiki uses this: * item 1 * item 2 * item 3 Code blocks are quite similar. BBCode uses [code][/code] for both inline and blocks; Text_Wiki uses <code></code> for blocks and {{this is code}} for inline (i.e., double-curly-brace pairs surround the inline code). Headings in Text_Wiki are: + Heading 1 ++ Heading 2 +++ Heading 3 ++++ Heading 4 +++++ Heading 5 ++++++ Heading 6 Text_Wiki does tables and BBCode does not. || cell 1 || cell 2 || cell 3 || || cell 1 || cell 2 || cell 3 || || cell 1 || cell 2 || cell 3 || Or cell alignment: ||< left-aligned ||= centered ||> right-aligned || Hm, both BBCode and Text_Wiki do superscript, but Text_Wiki doesn't do subscripts (BBCode does). I suppose I should write a rule for that. ;-) URLs are changed in place... http://example.com ... or you can describe the URL: [http://example.com Example Link] There's a lot more, please visit the sample page for a full list of Text_Wiki markup defaults.
http://wiki.ciaweb.net/yawiki/index.php?wiki=Text_Wiki&page=SamplePage-- Paul M. Jones Savant: the simple alternative to Smarty. http://phpsavant.com/