On Wednesday, July 11, 2012 11:52:40 AM you wrote: > On Mon, Jul 9, 2012 at 2:02 PM, V.Krishn <[email protected]> wrote: > > On Tuesday, July 10, 2012 12:19:42 AM you wrote: > >> On Mon, 9 Jul 2012, V.Krishn wrote: > >> > Uploaded new recipe 'Precode' > >> > Precode is a general utility block markup for displaying codes on wiki > >> > pages. http://insteps.net/pr/a/pmwiki/Cookbook/Precode > >> > > >> > Demo: > >> > http://insteps.net/pr/a/pmwiki/Cookbook/Precode-sample1 > >> > http://insteps.net/pr/a/pmwiki/Cookbook/Precode-sample2 > >> > > >> > It add markup > >> > > >> > ``` > >> > [@ > >> > > >> > .... lines of code .... > >> > .... lines of code .... > >> > .... lines of code .... > >> > > >> > @] > >> > ``` > >> > > >> > It outputs <pre><code>...</pre></code> on webpage. > > > > Sorry for the typo, should be - > > It outputs <pre><code>...</code></pre> on webpage. > > Please have a look at the demos. > > > > -- > > Regards. > > V.Krishn > > > >> I hope not. That's improperly nested. > > > > _______________________________________________ > > pmwiki-users mailing list > > [email protected] > > http://www.pmichaud.com/mailman/listinfo/pmwiki-users > > Did you look at and reject SourceBlock for some reason?
I use SourceBlock (GeSHi) when syntax highlighting needs to be precessed at server end. GeSHi can also use Precode with its features. Sample: http://insteps.net/pr/a/pmwiki/Test/GeSHi1 The page also includes php code needed for setting GeSHI with Precode. -- Regards. V.Krishn _______________________________________________ pmwiki-users mailing list [email protected] http://www.pmichaud.com/mailman/listinfo/pmwiki-users
