
|
[dokuwiki]
||
[Date Prev]
[06-2007 Date Index]
[Date Next]
||
[Thread Prev]
[06-2007 Thread Index]
[Thread Next]
[dokuwiki] Re: List syntax
- From: "Alexander A. Sorkin" <kibizoid@xxxxxxxxx>
- To: Adrian Sai-wah Tam <dokuwiki@xxxxxxxxxxxxx>
- Date: Mon, 11 Jun 2007 14:01:41 +0400
Hello Adrian,
Monday, June 11, 2007, 10:00:30 AM, you wrote:
> Thanks Ferdinard, I follow your pointer and coded the attached plugin
> (supposed to be put on lib/plugins/mllist/syntax.php), which makes all
> the lines following a bullet with 3 or more leading spaces concatenated.
> Everyone please enjoy.
I've found a little bug - your plugin breaks "----" formatting.
It replaces delimiter line with numbered long dash.
> Regards,
> Adrian.
> Ferdinand Soethe wrote:
>> 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.
>>>
>>
>>
--
Best regards,
_, _ __,
/ | // / ( / o
/--| // _ _., __, _ _ __/ _ _ `. __ _ /< , _ _
_/ |_(/_(/_/ /\_(_/(_/ / /_(_/_(/_/ (_ (___)(_)/ (_/ |_(_/ / /_
__ ,
/ ( /,/ o / o
kibizoid@xxxxxxxxx __, /< __, /< , / ,
http://kibi.ru (_/(_/ |_(_/(_ / \_(_/_)(_
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
|

|