-
-
Notifications
You must be signed in to change notification settings - Fork 18.2k
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
ENH: write Styler rendered output to file #13379
Comments
xref to #11700 as well |
Another option is to take a For now I'd say just write the output of |
This branch adds a
I assumed the |
That depends a bit on how we see the Styler (I didn't use it lately, so I can't really remember). Would one Styler object both support to html and to latex, or would you rather have a Styler class for to html and a Styler class for to latex? (as the templates are different, many methods will have to add different syntax, ..) |
I admit I hadn't even considered this option.
Not sure I understand what a template is. Do you think that, say, the syntax of In particular, I never thought about having parameters in |
I was answering a question on conditional formatting of html on SO.
So the OP was using
to_html
but wanted conditional formatting. Therefore, I pointed toStyler
to do this more easily than using theformatters
argument into_html
, but when you have aStyler
object, there is no longer ato_html
method to write the result to a html file.Of course you can write the result of
render
manually to a file, but would this ability be a desired enhancement?to_file
method toStyler
? (to_html
seems a bit specific, if we also want to use the Styler for other formats such as latex in the future)style
option into_html
where you can pass a Styler object?Related to #11610
@TomAugspurger
The text was updated successfully, but these errors were encountered: