Skip to content

Allow render outputs to take in functions that can modify HTML prior to being returned#72

Merged
jph00 merged 5 commits intomainfrom
html_classes
Mar 3, 2025
Merged

Allow render outputs to take in functions that can modify HTML prior to being returned#72
jph00 merged 5 commits intomainfrom
html_classes

Conversation

@Isaac-Flath
Copy link
Copy Markdown
Contributor

@Isaac-Flath Isaac-Flath commented Mar 2, 2025

Allow render outputs to take in functions that can modify HTML prior to being returned. This is useful if you want to injects styinling into HTML or markdown elements to match whatever CSS library or web app theme you are using.

Other small non-exported updates so notebook is runnable (variable rename conflict), supressing a warning due to Ipython 9 release, and running the entire notebook to update the outputs

@Isaac-Flath Isaac-Flath marked this pull request as draft March 2, 2025 21:39
@Isaac-Flath Isaac-Flath marked this pull request as ready for review March 2, 2025 23:24
@Isaac-Flath Isaac-Flath requested a review from jph00 March 2, 2025 23:27
@jph00
Copy link
Copy Markdown
Contributor

jph00 commented Mar 3, 2025

Thanks @Isaac-Flath !

@jph00 jph00 merged commit 0fb53ce into main Mar 3, 2025
2 checks passed
@jph00 jph00 changed the title Html classes Allow render outputs to take in functions that can modify HTML prior to being returned Mar 3, 2025
@jph00 jph00 added the enhancement New feature or request label Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants