khajavi / pandoc

Automatically exported from code.google.com/p/pandoc
GNU General Public License v2.0
0 stars 0 forks source link

line control in code blocks with .numberLines #235

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Provide a way to influence line numbers in code blocks.

For C source, for example, interpret line control preprocessor directives.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ {.c .numberLines}
...Some
code...
#line 123
...more
code...

would result in

1 | ...Some 2 | code... 123 | ...more 124 | code...


Original issue reported on code.google.com by `Sebastia...@googlemail.com` on 4 May 2010 at 9:28