The Sputnik sandbox
Test page. Feel free to edit indiscriminately (although you should keep a line around stating that it's a test page for editing)
header 2
header 3
This is [a link][]
[a link] : http://www.lemonde.fr
This is a test Some Lua:
require('sputnik')
return sputnik.new_wsapi_run_fn{
VERSIUM_PARAMS = { '/tmp/sputnik3/wiki-data/' },
BASE_URL = '/sputnik.ws',
}
Some C:
int main(void) {
printf("Hello, world!\n");
return 0;
}
Some Python:
def message(level, text):
""" A wrapper method for logging debug messages. """
logger = logging.getLogger('MARKDOWN')
if logger.handlers:
# The logger is configured
logger.log(level, text)
if level > WARN:
sys.exit(0)
elif level > WARN:
AESEWQRQERFASDFASDFASFD
Some bash:
cd ~/sputnik/lua tar xvzf foo.tgz
Actions field?
довольно неплохо!
This is a great tool.