rougier/numpy-100

Wrapping code in answers for PDF output

deeplook opened this issue · 3 comments

In my fork of this repo, see https://github.com/deeplook/numpy-100, I'm generating double-sided PDF index cards (call them quiz cards or flash cards if you like) from the markdown file 100 Numpy exercises.md with code extracted from an unrelated project. There it would be nice to manually wrap the Python code of the answers a bit more to make it fit on the cards. Would you accept a PR doing this? This might be a first step in including the code to generate the PDF output in your own repo, but I don't know if you want that, of course. It would help avoid maintaining different versions of the same Markdown file, though.

What do you mean by wrapping exactly ?

Basically shorter and likely more lines. While producing the same result.

See #38