Groesbeek, view of the 'National Liberation Museum 1944-1945' in Groesbeek. © Ton Kersten
Fork me on GitHub

Nanoblogger code plugin

2009-04-10 (11) by Ton Kersten, tagged as blog

Miek pointed me to a nice plugin for Nanoblogger called the Code Plugin

Some nice examples:

#include <stdio.h>

int main( int argc, char* argv[] )
    /* A Hello world example */
    (void) printf( "Hello, World!\n" );

    return 0;



# A Hello world example
echo "Hello world"

If you want to cut and paste code examples, just go into vi and give it a

:%s/^[0-9]* //