[xwiki-devs] [VOTE] New syntax for headers - Take 2
Ok since our last vote wasn't successful I'm restarting it (since we've had lots of reasons given the opinion of each of us may have changed). Please note that we also need to be quick since 1.6 release is approaching fast and this is going to take some time to implement. Proposal: * Replace 1[.1]* syntax with =[=]* syntax * Force closing = with any number of equal signs (including none). ** Rationale 1: this is what Creole suggest. See http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Headings ** Rationale 2: makes it easier for lazy people * Allow wiki syntax in headers (we need that to auto generate them using velocity syntax for example). Creole considers this optional so we're good. * White space allowed before the left = * Any characters after the closing = signs are considered to be part of the paragraph after the header. Note: I don't know what Creole suggests for this. Note also that I'll have to check with the wiki model parser what is easier to do. The other alternative is to simply ignore chars there. * Default (in wysiwyg editor for ex) is to generate closed headers (with matching = signs on the right) Here's my +1 to all. Thanks -Vincent
+1 to all Vincent Massol wrote:
Ok since our last vote wasn't successful I'm restarting it (since we've had lots of reasons given the opinion of each of us may have changed). Please note that we also need to be quick since 1.6 release is approaching fast and this is going to take some time to implement.
Proposal:
* Replace 1[.1]* syntax with =[=]* syntax
* Force closing = with any number of equal signs (including none).
** Rationale 1: this is what Creole suggest. See http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Headings ** Rationale 2: makes it easier for lazy people
* Allow wiki syntax in headers (we need that to auto generate them using velocity syntax for example). Creole considers this optional so we're good.
* White space allowed before the left =
* Any characters after the closing = signs are considered to be part of the paragraph after the header. Note: I don't know what Creole suggests for this. Note also that I'll have to check with the wiki model parser what is easier to do. The other alternative is to simply ignore chars there.
* Default (in wysiwyg editor for ex) is to generate closed headers (with matching = signs on the right)
Here's my +1 to all.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
+1 to all Vincent Massol wrote:
Ok since our last vote wasn't successful I'm restarting it (since we've had lots of reasons given the opinion of each of us may have changed). Please note that we also need to be quick since 1.6 release is approaching fast and this is going to take some time to implement.
Proposal:
* Replace 1[.1]* syntax with =[=]* syntax
* Force closing = with any number of equal signs (including none).
** Rationale 1: this is what Creole suggest. See http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Headings ** Rationale 2: makes it easier for lazy people
* Allow wiki syntax in headers (we need that to auto generate them using velocity syntax for example). Creole considers this optional so we're good.
* White space allowed before the left =
* Any characters after the closing = signs are considered to be part of the paragraph after the header. Note: I don't know what Creole suggests for this. Note also that I'll have to check with the wiki model parser what is easier to do. The other alternative is to simply ignore chars there.
* Default (in wysiwyg editor for ex) is to generate closed headers (with matching = signs on the right)
Here's my +1 to all.
Thanks -Vincent
_______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Ludovic Dubost Blog: http://blog.ludovic.org/ XWiki: http://www.xwiki.com Skype: ldubost GTalk: ldubost
+1 to all. Vincent Massol wrote:
Ok since our last vote wasn't successful I'm restarting it (since we've had lots of reasons given the opinion of each of us may have changed). Please note that we also need to be quick since 1.6 release is approaching fast and this is going to take some time to implement.
Proposal:
* Replace 1[.1]* syntax with =[=]* syntax
* Force closing = with any number of equal signs (including none).
** Rationale 1: this is what Creole suggest. See http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Headings ** Rationale 2: makes it easier for lazy people
* Allow wiki syntax in headers (we need that to auto generate them using velocity syntax for example). Creole considers this optional so we're good.
* White space allowed before the left =
* Any characters after the closing = signs are considered to be part of the paragraph after the header. Note: I don't know what Creole suggests for this. Note also that I'll have to check with the wiki model parser what is easier to do. The other alternative is to simply ignore chars there.
* Default (in wysiwyg editor for ex) is to generate closed headers (with matching = signs on the right)
Here's my +1 to all.
-- Artem Melentyev
4 +1, no 0, no -1 Implementing now. Note that there are 2 changes: 1) white spaces after left = and before right = are ignored 2) text after the right = are considered part of the header. Apparently this is what wikicreole does. I have tested it by editing this page: http://www.wikicreole.org/Preview.jsp?page=JSPWikiTestCases Thanks -Vincent On Sep 16, 2008, at 10:35 AM, Vincent Massol wrote:
Ok since our last vote wasn't successful I'm restarting it (since we've had lots of reasons given the opinion of each of us may have changed). Please note that we also need to be quick since 1.6 release is approaching fast and this is going to take some time to implement.
Proposal:
* Replace 1[.1]* syntax with =[=]* syntax
* Force closing = with any number of equal signs (including none).
** Rationale 1: this is what Creole suggest. See http://www.wikicreole.org/wiki/Creole1.0#section-Creole1.0-Headings ** Rationale 2: makes it easier for lazy people
* Allow wiki syntax in headers (we need that to auto generate them using velocity syntax for example). Creole considers this optional so we're good.
* White space allowed before the left =
* Any characters after the closing = signs are considered to be part of the paragraph after the header. Note: I don't know what Creole suggests for this. Note also that I'll have to check with the wiki model parser what is easier to do. The other alternative is to simply ignore chars there.
* Default (in wysiwyg editor for ex) is to generate closed headers (with matching = signs on the right)
Here's my +1 to all.
Thanks -Vincent
participants (4)
-
Artem Melentyev -
Ludovic Dubost -
Marius Dumitru Florea -
Vincent Massol