Syntax highlighting on the wiki

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.

Evan

that’s cool! thanks

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs