[pmwiki-users] formatting pre-formatted text!

Tegan Dowling tmdowling at gmail.com
Sat Sep 2 22:11:24 CDT 2006


On 9/2/06, Mohamed El Dawy <msdawy at yahoo.com> wrote:
>
> Hi,
>  First, thanks a lot for doing PMWiki. I really love it. It is amazing.
>
>  I am trying to include a few lines of source code on my wiki page, so i put
> them in a preformatted tag like this...
>
> [@
>    source code goes here
> @]
>
> Now, here is the tricky thing. I am trying to make certain lines of the code
> bold. I need this to point out the changes made to a previous piece of code.
> Now, if i try this...
> [@
>    ''' cout<<"hello world"<<endl; '''
> @]
> the line of code is displayed with 3 quotes before and after (not made
> bold).
>
> is there anyway to achieve this? I have to use the preformatted tag to
> preserve the indentation.
>
> Thank you very much for all the help. Sincerely appreciated

would this be an acceptable work-around?
@@ &nbsp; ''' cout<<"hello world"<<endl; ''' @@




More information about the pmwiki-users mailing list