Skip to content

Conversation

@sethaxen
Copy link
Member

@sethaxen sethaxen commented May 4, 2025

Currently when we show an HTML representation of InferenceData, we convert each Dataset to a plain-text string and embed it within a code block. This is convenient but doesn't look as good as when Documenter renders a dataset that's the output of an example block, because it shows the ASCI coloring that DimensionalData uses to associated dimensions with their coordinates and sizes.

This PR uses the same approach as Documenter, ANSIColoredPrinters, to convert a plain-text rendering of Dataset that includes ANSI coloring to a corresponding HTML representation.

@sethaxen sethaxen merged commit 25d6616 into main May 4, 2025
9 checks passed
@sethaxen sethaxen deleted the ascihtml branch May 4, 2025 21:24
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

Successfully merging this pull request may close these issues.

1 participant