Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrapping code in answers for PDF output #37

Open
deeplook opened this issue Jan 4, 2017 · 3 comments
Open

Wrapping code in answers for PDF output #37

deeplook opened this issue Jan 4, 2017 · 3 comments

Comments

@deeplook
Copy link

deeplook commented Jan 4, 2017

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.

@rougier
Copy link
Owner

rougier commented Jan 4, 2017

What do you mean by wrapping exactly ?

@deeplook
Copy link
Author

deeplook commented Jan 4, 2017

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

@deeplook
Copy link
Author

deeplook commented Jan 5, 2017

See #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants