ref: 9842b0ae2fd64c678b545ca71f9c34b7afba87c5
dir: /sample.spit/
; Demonstration of spit capabilities @style[title.font] = /lib/font/ttf/DejaVuSans.ttf @style[fixed.font] = /lib/font/ttf/DejaVuSans-Mono.ttf # A sample presentation spit is a simple presentation tool for plan9. spit presentations are simple markdown-like files. spit understands the following elements: - New slide if the line starts with '# ' - List if the line starts with '- ' - Quote if the line starts with '> ' - Code if the line is ``` (code block is ended with a similar line). - Image, in p9 format, if the line starts with '! ' Lines starting with a semicolon are comments and ignored by spit. spit doesn't try to do proper layout or resizing, it's on you. # Some examples Here is a simple hello world in plan9 C: ``` #include <u.h> #include <libc.h> void main(void) { print("hello world\n"); } ``` As Rob once said: > It's a terrible idea. # The end And here was a simple tour of spit: ! glenda.bit