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

Show contents as HTML #2

Open
asinghvi17 opened this issue Apr 2, 2024 · 2 comments
Open

Show contents as HTML #2

asinghvi17 opened this issue Apr 2, 2024 · 2 comments

Comments

@asinghvi17
Copy link

asinghvi17 commented Apr 2, 2024

Here, you may be able to show contents as HTML explicitly...
something like:

sprint(df[row, col]) do io, element
		if showable(MIME"text/html"(), element)
        	show(io, MIME"text/html"(), element)
		else
			show(io, element
		end
       end
@cecoeco
Copy link
Owner

cecoeco commented Apr 2, 2024

This might take me a bit to get correct. If you have a clear plan on how to implement this if you think it will improve the package then I dont mind you adding this feature.

@cecoeco
Copy link
Owner

cecoeco commented May 6, 2024

There are two new functions that I think somewhat address this: 1. HTMLTables.get(), this parses a specific html table from an html document / website and returns it as a string. 2. HTMLTables.table(), this takes a table like a dataframe and returns it as a string of html.

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