Go to the FreeLists Home Page Home Signup Help Login
 



[dokuwiki] || [Date Prev] [06-2007 Date Index] [Date Next] || [Thread Prev] [06-2007 Thread Index] [Thread Next]

[dokuwiki] Re: List syntax

  • From: Ferdinand Soethe <sammler@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Fri, 08 Jun 2007 11:14:02 +0200
I find Adrians proposal (make the parser understand that indented lines
immediately following a list item) are additional lines for that list
item) quite useful.

It certainly would be more intuitive as we write lists in emails like
that everyday.

Problem would be to associate the amount of indent with a list item if
there is more than one layer of list items such as:

* dsfdsf
  * sdfdsfasf
    sjdklsdkjfkjdskf

Perhaps you could write this as a plugin?
The code for the creole-plugin might be a good starting point to figure
out how to intercept normal parsing.

Best regards,
Ferdinand Soethe

Adrian Sai-wah Tam wrote:
> Hi,
> 
> Sometimes, we may wrote in a list form, such as:
> =========
>  * This is an item
>  * This is another item with
>     a long line broken into two
>  * This is the third item
> =========
> When we look at the source, we (human) obviously know the second and
> third line is a single item. However, the parser don't. I would like to
> change that (at least for my incarnation), does anyone know where to do?
> I looked at inc/parser/xhtml.php but got no clue to do.
> 
> - Adrian.

-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist




[ Home | Signup | Help | Login | Archives | Lists ]

All trademarks and copyrights within the FreeLists archives are owned by their respective owners.
Everything else ©2007 Avenir Technologies, LLC.