Skip site navigation (1) Skip section navigation (2)

Re: Code snippet hosting?

From: Brendan Jurd <direvus(at)gmail(dot)com>
To: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, pgsql-www(at)postgresql(dot)org
Subject: Re: Code snippet hosting?
Date: 2009-03-19 21:06:35
Message-ID: 37ed240d0903191406t72480feay95518a7bdee03808@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-www
On Fri, Mar 20, 2009 at 7:45 AM, Alvaro Herrera
<alvherre(at)commandprompt(dot)com> wrote:
> Peter Eisentraut escribi├│:
>
>> Alright:
>>
>> http://wiki.postgresql.org/wiki/Snippets
>> http://wiki.postgresql.org/wiki/Snippets/Mandelbrot_set
>>
> Okay, Stefan was kind enough to install the syntax highlighter
> extension.  I gave it a try and it seems to work great -- thanks, Stefan.

Nice.  It does a good job of highlighting the SQL.

I took the liberty of adding the results of the Mandelbrot query to
the page while I was there =)

We could also make a template for a snippet "infobox" that appears
floated to one side and shows some pertinent attributes of the
snippet, such as what language it's in and which version of Postgres
it works with, any dependencies, etc.

>
> I don't know how to create an index of subpages in the superpage, but I
> added category tags so you can see the snippet index here:
> http://wiki.postgresql.org/wiki/Category:Snippets

Probably relying on the category index is the right way to go ... the
superpage could just give an intro explaining what snippets are, and
maybe how to go about adding them, and link to the category page.

Cheers,
BJ

In response to

Responses

pgsql-www by date

Next:From: Alvaro HerreraDate: 2009-03-19 21:12:09
Subject: Re: Code snippet hosting?
Previous:From: Alvaro HerreraDate: 2009-03-19 20:45:08
Subject: Re: Code snippet hosting?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group