[ 
https://issues.apache.org/jira/browse/JSPWIKI-432?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12647829#action_12647829
 ] 

Janne Jalkanen commented on JSPWIKI-432:
----------------------------------------

But the TOC will look ugly with the "!TAB xxx" approach.

Another possibility would be to add a new element into the markup.  For 
example, 

{noformat}
&&tabbedSection
&&section This is the first title

...

&&section whatever
{noformat}

By making them first-class citizens we could use those then for quite a few 
different solutions.

Another possiblity might be to enhance the %% -syntax to support better 
arguments, for example

{noformat}
%%tabbedSection
%%tab Tab Name
%/
{noformat}


> Simplify Tabbed Section markup
> ------------------------------
>
>                 Key: JSPWIKI-432
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-432
>             Project: JSPWiki
>          Issue Type: Improvement
>          Components: Default template
>    Affects Versions: 2.8
>            Reporter: Dirk Frederickx
>            Assignee: Dirk Frederickx
>
> The current tabbed section markup requires a rather complex markup.
> {noformat}
> %%tabbedSection
> %%tab-XXX
> ...
> /%
> %%tab-YYY
> ...
> /%
> /%
> {noformat}
> This is a proposal to simplify the markup.
> Use a standard header starting with a predefined PREFIX to denote a new tab.
> EG
> {noformat}
> %%tabbedSection
> !TAB XXX
> ...
> !TAB YYY
> ...
> /%
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to