3 ms·
How would i be able to add the comments on the left? So far, i was only successful in generating the source code on the right.
by gmaster1440 16y ago
How would i be able to add the comments on the left? So far, i was only successful in generating the source code on the right.
- mnemonik 16y agoWhat language are your source files in? Python, Ruby, Scheme, Lua, and CoffeeScript should all be supported (but it doesn't play nice with /* */ style JS, just //). All code comments that are on their own line should become documentation on the left, for example: # This should become docs def this_is_the(code): ... Take a look at the raw file on github, and compare it to the generated file: http://github.com/fitzgen/pocco/blob/master/pocco http://github.com/fitzgen/pocco/blob/master/pocco