Yes - I now have the reference. Thanks:
* The wiki parser can be used with css classes now:
{{{#!wiki comment
This will render output within a div with class "comment".
You can use any wiki markup as usual.
}}}
You can also combine multiple css classes like this:
{{{#!wiki red/dotted/comment
This will render a red background, dotted border comment section.
}}}
The same thing will work for any other css classes you have.
If the css classes contain the word "comment", they will trigger some
special feature, see next item:
* Wiki nested parser/pre sections work now, using this syntax:
a) just use more curly braces if you have 3 closing in your content:
{{{{
}}} <- does not terminate the section!
}}}}
b) use {{{ + some magic string:
{{{somemagicstring
}}} <- does not terminate the section!
somemagicstring}}}
c) {{{whatever#!python
# py code
whatever}}}
Pitfall: stuff like below does not work as it did in 1.5:
{{{aaa
bbb}}}
Solution:
{{{
aaa
bbb
}}}
On Tue, Dec 9, 2008 at 1:35 PM, Sherlock, Ric <[EMAIL PROTECTED]>wrote:
> ---Devon McCormick wrote:
> > I noticed that a story on the J wiki (by Richard Brown) was displaying
> > oddly. The problem is where there was in-lined code using the triple
> > curly
> > braces in the following format:
> > {{{ 'Some code goes here,'
> > NB. but gets messed up because it starts on the same line
> > NB. as the initial curlies but does not also end on that line.
> > }}}
> >
> > Didn't this used to behave differently?
>
> Yes it has changed see the section "Code Blocks" on
> http://www.jsoftware.com/jwiki/System/MoinMoin18
>
> The reason that the above no longer works is that the following is now
> supported:
>
> {{{mygoodcode
> NB. Code goes here
> NB. More
> NB. And more
> mygoodcode}}}
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
--
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm