Hello Ton,
        Thank you for the reply. The first method breaks up the list
and I added a : after the # to indicate the code is a part of the
previous list item and the list should continue with the next item
when I place a #. The tiddler transclude works. Also another solution
I found was to include the code in the tags <html> and <pre>.

Thanks,
Milind

On Aug 14, 3:49 am, TonG <[email protected]> wrote:
> Hi Milind,
>
> Or better:
>
> Write your code in a separate tiddler e.g. TiddlerCode containing:
> {{{
>        Code Line 1
>        Code Line 2
>
> }}}
>
> and transclude it in the list:
>
> # List item
> #<<tiddler TiddlerCode>>
>
> Cheers,
>
> Ton
>
> On Aug 14, 6:49 am, Milind Gupta <[email protected]> wrote:
>
>
>
>
>
>
>
> > Hi,
> >           When I am trying to add a Code segment in a list it does't come
> > out as a proper code segment. What I write is:
>
> > # List item
> > #:{{{
> >        Code Line 1
> >        Code Line 2
>
> > }}}
>
> > The code lines come out in just 1 line and formatted weirdly. If I just
> > remove #: before the code block then it works fine.
>
> > What am I doing wrong?
>
> > Thanks,
> > Milind

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tiddlywiki?hl=en.

Reply via email to