diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-12-05 19:46:43 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2013-12-05 19:46:43 +0100 |
commit | fbb849a8e92e283d6a79c0f560ebddafc8e55f5d (patch) | |
tree | cac49b61a8b2782cde638ffe5aef154d74e22178 | |
parent | 2f32e5f01cc39e8e71e601a2c59a1cf39877b5e4 (diff) | |
download | groff-tools-fbb849a8e92e283d6a79c0f560ebddafc8e55f5d.tar.gz |
fixed code blocks in README.md
-rw-r--r-- | README.md | 32 |
1 files changed, 18 insertions, 14 deletions
@@ -20,7 +20,8 @@ Most EBNF constructs and some extensions are supported, but I'm too lazy to docu all of them now. To build the sample `select-from.ebnf`, type something like: - cat samples/select-from.ebnf | ./ebnf.sno | pic | groff -Tps >select-from.ps + + cat samples/select-from.ebnf | ./ebnf.sno | pic | groff -Tps >select-from.ps ## HIGHLIGHT @@ -33,19 +34,22 @@ The output is formatted according to `groff.outlang` which currently only works the [mom macros](http://www.schaffter.ca/mom/). Example: - .QUOTE - .CODE - .HIGHLIGHT c - #include <stdio.h> - - int main(int argc, char **argv) - { - printf("Hello world!\n"); - return 0; - } - .HIGHLIGHT - .CODE OFF - .QUOTE OFF + +``` +.QUOTE +.CODE +.HIGHLIGHT c +#include <stdio.h> + +int main(int argc, char **argv) +{ + printf("Hello world!\n"); + return 0; +} +.HIGHLIGHT +.CODE OFF +.QUOTE OFF +``` ## UML |