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

Notebook: let user code output HTML to render. #30

Open
switham opened this issue Jun 16, 2013 · 0 comments
Open

Notebook: let user code output HTML to render. #30

switham opened this issue Jun 16, 2013 · 0 comments

Comments

@switham
Copy link
Owner

switham commented Jun 16, 2013

Give the user's Python code a function to output HTML to be rendered in the output window (interspersed with typewriter-style stdout and stderr).

Maybe follow the Python 3 print function API.

Maybe make this safer (& easier though nonstandard) by making available (a subset of) the procedures I use internally to generate HTML elements.

This tangles a little with gradual "streaming" output if I try to force that HTML elements are always closed properly. But... I don't think badly tangled.

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

No branches or pull requests

1 participant