2 messages in ru.sysoev.nginxRe: syntax highlighting on the wiki
FromSent OnAttachments
Evan MillerDec 30, 2007 11:32 am 
Alex EggDec 30, 2007 1:25 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: syntax highlighting on the wikiActions...
From:Alex Egg (eggi@public.gmane.org)
Date:Dec 30, 2007 1:25:22 pm
List:ru.sysoev.nginx

that's cool! thanks

On Dec 30, 2007 11:33 AM, Evan Miller
<emmi@public.gmane.org> wrote:

I whipped up a wiki plugin that parses Nginx configuration examples and automatically links directives to their documentation. This should make it *much* easier to understand examples in our cookbook. Here's an example of the plugin in action:

http://wiki.codemongers.com/NginxFullExample2

To use the plugin, just add a shebang line to the top of examples, like this:

{{{#!nginx user www www; ... }}}

And it'll add links as appropriate. Cool, eh? Try it out by posting a tricky snippet from your config.

Let me know if you find any bugs or want to see the plugin source.