Add this suggestion to a batch that can be applied as a single commit. This suggestion is invalid because no changes were made to the code. Suggestions cannot be applied while the pull request is closed. Suggestions cannot be applied while viewing a subset of changes. Only one suggestion per line can be applied in a batch. Add this suggestion to a batch that can be applied as a single commit. Applying suggestions on deleted lines is not supported. You must change the existing code in this line in order to create a valid suggestion. Outdated suggestions cannot be applied. This suggestion has been applied or marked resolved. Suggestions cannot be applied from pending reviews. Suggestions cannot be applied on multi-line comments. Suggestions cannot be applied while the pull request is queued to merge. Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So if there is only 1 Styler, before
foot_would be prepended and nowfoot0_will be prepended?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This doesn't appear to have been addressed (please don't resolve unresolved conversations)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When chaining multiple Stylers the CSS needs a unique identifier. Previously it was only possible to compound multiple styler concatenations:
which resulted in CSS classes
None,foot_andfoot_foot_.When allowing chained stylers you need an integer id, so
results in
None,foot0_,foot1_andfoot1_foot0_,foot2_.The CSS classes were not documented in 1.5.0 previously and not exposed to the user.
Here they are now amended and documented.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So just to confirm, a result with
foot_wasn't visible to the user previously and wouldn't see thatfoot0_would now be returned?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
foot_is returned as part of the HTML string in 1.5.0. All of the automatically generated styling CSS ids referencefoot_so that the rendered HTML table, including styles works correctly.Now the HTML string returned will contain
foot0_and all the auto generated CSS ids will reference that instead.Unless the user is specifically adding a CSS rule for
footeither with an external stylesheet or usingset_table_stylesthere will be no visible difference in the rendered HTML display, either in a JupyterLab or browser.i.e.
will display the same in both versions even though the CSS class names have been changed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay thanks for the explanation!