How about using the CSS directly?

%%(white-space:pre;border:1px solid #ddd;)
cd ''install''-dir/bin
%%

You can add as much css as you want, or you can create your own style in a local CSS file and refer to it as

%%code
cd ''install''-dir/bin
%%

/Janne

On Dec 9, 2009, at 22:20 , Lana Frost wrote:

Thanks Dirk,

That works but unfortunately most of our code samples span multiple lines so I was hoping to be able to use the code block.

Thanks,
Lana

Dirk Frederickx wrote:
Lana,

You could do something like this:

{{$ cd ''install''-dir/bin}}


dirk


On Wed, Dec 9, 2009 at 7:55 PM, Lana Frost <[email protected]> wrote:


Hi,

Is it possible in JSPwiki to include italicized font in a code sample?

What I want is this

$ cd /install-dir//bin

What I've tried is this:

{{{
$ cd ''install-dir''/bin
}}}

but the quotes are returned literally, so:

$ cd ''install-dir''/bin

Is there a way to do this?

Thanks,
Lana






Reply via email to