[xwiki-devs] [VOTE] Support multilines headers
Hi everyone Currently the XWiki 2.0 parser does not support multilines headers, meaning that it consider new line as end of header: = Heading 1 = give "<h1>Heading</h1><p>1 =</p>" I propose to have the same things than paragraphs: need two consecutive new lines (or the =* syntax of course) to be end of header. = Heading 1 = = Heading 2 = would give "<h1>Heading<br/>1</h1><h1>Heading</h1><p>2 =</p>" Here is my +1 Thanks, -- Thomas Mortagne
On Dec 29, 2008, at 3:30 PM, Thomas Mortagne wrote:
Hi everyone
Currently the XWiki 2.0 parser does not support multilines headers, meaning that it consider new line as end of header:
= Heading 1 =
give "<h1>Heading</h1><p>1 =</p>"
I propose to have the same things than paragraphs: need two consecutive new lines (or the =* syntax of course) to be end of header.
= Heading 1 = = Heading
2 =
would give "<h1>Heading<br/>1</h1><h1>Heading</h1><p>2 =</p>"
Here is my +1
+1 since: 1) I don't think it's hard to implement 2) more powerful (but users don't have it) 3) it solves the issue of importing HTML (which allows headers mulitple lines) Thanks -Vincent
Thomas Mortagne wrote:
Hi everyone
Currently the XWiki 2.0 parser does not support multilines headers, meaning that it consider new line as end of header:
= Heading 1 =
give "<h1>Heading</h1><p>1 =</p>"
I propose to have the same things than paragraphs: need two consecutive new lines (or the =* syntax of course) to be end of header.
= Heading 1 = = Heading
2 =
would give "<h1>Heading<br/>1</h1><h1>Heading</h1><p>2 =</p>"
Here is my +1
Thanks,
-0. In most syntaxes closing signs are optional, so = Heading is a valid heading, too (at least the Creole guys say so). -- Sergiu Dumitriu http://purl.org/net/sergiu/
On Dec 30, 2008, at 3:53 AM, Sergiu Dumitriu wrote:
Thomas Mortagne wrote:
Hi everyone
Currently the XWiki 2.0 parser does not support multilines headers, meaning that it consider new line as end of header:
= Heading 1 =
give "<h1>Heading</h1><p>1 =</p>"
I propose to have the same things than paragraphs: need two consecutive new lines (or the =* syntax of course) to be end of header.
= Heading 1 = = Heading
2 =
would give "<h1>Heading<br/>1</h1><h1>Heading</h1><p>2 =</p>"
Here is my +1
Thanks,
-0. In most syntaxes closing signs are optional, so = Heading is a valid heading, too (at least the Creole guys say so).
The closing sign will stay optional (I don't want to loose this either). The separation with another block is done with 2 new lines. Thanks -Vincent
On Tue, Dec 30, 2008 at 3:53 AM, Sergiu Dumitriu <[email protected]> wrote:
Thomas Mortagne wrote:
Hi everyone
Currently the XWiki 2.0 parser does not support multilines headers, meaning that it consider new line as end of header:
= Heading 1 =
give "<h1>Heading</h1><p>1 =</p>"
I propose to have the same things than paragraphs: need two consecutive new lines (or the =* syntax of course) to be end of header.
= Heading 1 = = Heading
2 =
would give "<h1>Heading<br/>1</h1><h1>Heading</h1><p>2 =</p>"
Here is my +1
Thanks,
-0. In most syntaxes closing signs are optional, so = Heading is a valid heading, too (at least the Creole guys say so).
As I said : "need two consecutive new lines (or the =* syntax of course) to be end of header."
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
+1 Thomas Mortagne wrote:
On Tue, Dec 30, 2008 at 3:53 AM, Sergiu Dumitriu <[email protected]> wrote:
Thomas Mortagne wrote:
Hi everyone
Currently the XWiki 2.0 parser does not support multilines headers, meaning that it consider new line as end of header:
= Heading 1 =
give "<h1>Heading</h1><p>1 =</p>"
I propose to have the same things than paragraphs: need two consecutive new lines (or the =* syntax of course) to be end of header.
= Heading 1 = = Heading
2 =
would give "<h1>Heading<br/>1</h1><h1>Heading</h1><p>2 =</p>"
Here is my +1
Thanks, -0. In most syntaxes closing signs are optional, so = Heading is a valid heading, too (at least the Creole guys say so).
As I said : "need two consecutive new lines (or the =* syntax of course) to be end of header."
-- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+0 Thomas Mortagne wrote:
Hi everyone
Currently the XWiki 2.0 parser does not support multilines headers, meaning that it consider new line as end of header:
= Heading 1 =
give "<h1>Heading</h1><p>1 =</p>"
I propose to have the same things than paragraphs: need two consecutive new lines (or the =* syntax of course) to be end of header.
= Heading 1 = = Heading
2 =
would give "<h1>Heading<br/>1</h1><h1>Heading</h1><p>2 =</p>"
Here is my +1
Thanks,
participants (5)
-
Anca Paula Luca -
Marius Dumitru Florea -
Sergiu Dumitriu -
Thomas Mortagne -
Vincent Massol