[pmwiki-users] New recipe - Precode
V.Krishn
vkrishn4 at gmail.com
Wed Jul 11 02:58:49 CDT 2012
On Wednesday, July 11, 2012 11:52:40 AM you wrote:
> On Mon, Jul 9, 2012 at 2:02 PM, V.Krishn <vkrishn4 at gmail.com> 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
> > pmwiki-users at pmichaud.com
> > 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
More information about the pmwiki-users
mailing list