Thanks to visit codestin.com
Credit goes to github.com

Skip to content

ENH: return a wrapped str w/ a _repr_html_ so that Jupyter displays the html #27

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

Merged
merged 2 commits into from
Dec 19, 2019

Conversation

westurner
Copy link
Contributor

Usage:

from tabulate import tabulate
tabulate(data, output='html')

To access the raw HTML string in Jupyter:

from tabulate import tabulate
tabulate(data, output='html').str

IDK if this needs to be in the docs? I added notes in the README there

@westurner westurner changed the title ENH: return a wrapped str w/ a _repr_html_ so that Jupyter displaysso that Jupyter displays the html ENH: return a wrapped str w/ a _repr_html_ so that Jupyter displays the html Dec 10, 2019
@westurner
Copy link
Contributor Author

Please do not merge this until #26 with the html escaping gets merged. This'll require a slight rebase.

@astanin astanin merged commit 25ef941 into astanin:master Dec 19, 2019
@westurner
Copy link
Contributor Author

westurner commented Dec 19, 2019 via email

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

Successfully merging this pull request may close these issues.

2 participants