[Solar-talk] Markdown Info
Luke Karisny
luke.karisny at gmail.com
Wed Aug 16 10:37:26 PDT 2006
Looks cool! I've been thinking about wiki-format for a future work project
and this class is further motivation. It might be a little hard convincing
the higher ups about using Solar, though. ;)
On 8/16/06, Paul M Jones <pmjones at solarphp.com> wrote:
>
> On Aug 9, 2006, at 7:15 PM, Rodrigo Moraes wrote:
>
> > Now, curiosity: why Markdown, Paul?
>
> Two reasons: aesthetics, and algorithm.
>
> I think Markdown looks prettier, in plain text, than any other markup
> I've seen. That's one of its explicit design goals, in fact: to be
> readable in plain text.
>
> <http://daringfireball.net/projects/markdown/syntax#philosophy>
>
> And the processing algorithm is really nice. Basically, it processes
> "block" rules at the top level, and the block rules then process
> spans within those blocks. This is as opposed to most wiki engines,
> including Text_Wiki, where blocks and spans are processed
> sequentially. The Markdown algo lets you do things like have lists
> and code blocks within blockquotes, which is very difficult in other
> engines.
>
> What Solar_Markdown adds to the basic algorithm is plugin-awareness.
> With the procedural Markdown, you need to edit the code directly to
> add new markup rules. With Solar_Markdown, as with Text_Wiki, you
> just write a new rule class, and then specify where it should go in
> the parsing process via $config['rules'].
>
>
> --
>
> Paul M. Jones <http://paul-m-jones.com>
>
> Solar: Simple Object Library and Application Repository
> for PHP5. <http://solarphp.com>
>
> Savant: The simple, elegant, and powerful solution for
> templates in PHP. <http://phpsavant.com>
>
>
> _______________________________________________
> solar-talk mailing list
> solar-talk at lists.solarphp.com
> http://mail.killersoft.com/mailman/listinfo/solar-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.killersoft.com/pipermail/solar-talk/attachments/20060816/08cd34a7/attachment.htm
More information about the solar-talk
mailing list