Skip to content

Add option to use ansi2html renderer#57

Merged
Isaac-Flath merged 3 commits intomasterfrom
ansi2html-renderer
Nov 12, 2024
Merged

Add option to use ansi2html renderer#57
Isaac-Flath merged 3 commits intomasterfrom
ansi2html-renderer

Conversation

@Isaac-Flath
Copy link
Copy Markdown
Contributor

@Isaac-Flath Isaac-Flath commented Nov 12, 2024

I added option to use different renderers in render_output and add examples of ansi2html. I used this in a downstream app successfully. However a couple things that may need to be resolved:

  1. markupsafe is needed in fastcore for ansi2html. Should this be a dependency in fastcore? Or should that import be moved into the ansi2html function to make it an optional fastcore dependency?
  2. There are other failing tests, but it looks like they have been failing for a couple weeks. Are those tests still valid?

@Isaac-Flath Isaac-Flath requested a review from jph00 November 12, 2024 04:41
@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@Isaac-Flath
Copy link
Copy Markdown
Contributor Author

Addressed the 2 problems:

  • Fastcore updated to use standard lib html.escape
  • Smart completer bug fix

@jph00 ready to merge

@Isaac-Flath Isaac-Flath merged commit 3fc8853 into master Nov 12, 2024
@jph00 jph00 added the enhancement New feature or request label Nov 27, 2024
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