Thanks Vincent for a quick reply. That works! 

vmassol wrote:
> 
> Hi,
> 
> On Sep 24, 2008, at 10:35 PM, Taro wrote:
> 
>>
>> I have a bulleted list. I want to insert a code section in the list.  
>> when I
>> use the WYSIWIG editor to add the code, the margin of the code block  
>> gets
>> formatted outside of the bulleted list. I've tried using the wiki  
>> editor to
>> put the code, but I haven't figured out the syntax.
>>
>> Code:
>> * Item 1
>> * Item 2
>> {code}Here's some code.{code}
>> * Item 3
> 
> Use:
> 
> * Item 1
> * Item 2{code}Here's some code.{code}
> * Item 3
> 
> This will get better in the new syntax coming up soon:
> http://dev.xwiki.org/xwiki/bin/view/Drafts/XWikiSyntax20
> 
> Thanks
> -Vincent
> 
>>
>>
>> Expected:
>> 1. Item 1
>> 2. Item 2
>>   Here's some code.
>> 3. Item 3
>>
>>
>> Actual:
>> 1. Item 1
>> 2. Item 2
>> Here's some code.
>> 3. Item 3
>>
>> What is the best way to do this? I am using XWiki Enterprise version
>> 1.5.1.12494.
>>
>> Thanks.
>> Taro
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/How-do-I-add-code-tag-in-a-bulleted-list--tp1116403p1116566.html
Sent from the XWiki- Users mailing list archive at Nabble.com.

_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to