emacs-wiki-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [emacs-wiki-discuss] Formatting problems


From: Mark Triggs
Subject: Re: [emacs-wiki-discuss] Formatting problems
Date: Fri, 26 Nov 2004 13:58:51 +1100
User-agent: No Gnus v0.3

"kay surnan" <address@hidden> writes:

> In the past 2 days, I have been playing with emacs-wiki and is quite
> interesting. Though I am able to create some pages with links, free
> links, preview and publish them, I do have some problems in putting
> things right.
>
> For eg. I want to put some sample piece of code like this into my wiki
> page
>
> public class TempObject
> {
>    int i = 0;
>    public static void main(String[] args)
>    {
>      
>
> like this. I don't want to put blank spaces to display them in
> separate lines but rather using <pre> tag. But my problem is
> TempObject becomes a Wiki link and I don't want that. How can I
> rectify this problem ?

I think you can wrap your code in <example> ... </example> tags and it
won't treat things as wiki links.

> Also how can I type [[http://www.google.com][google]] in a document ?
> I don't want this to be converted to a free link but want to show that
> this can be used to build a free link

For these, I think <verbatim> ... </verbatim> tags will do the trick.

Cheers,

Mark

-- 
Mark Triggs
<address@hidden>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]