Skip to content
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

Use IOContext properly for styled printing. #146

Merged
merged 4 commits into from
Jan 7, 2025
Merged

Conversation

fjebaker
Copy link
Owner

@fjebaker fjebaker commented Jan 7, 2025

Closes #144.

Drops the Crayons.jl dependency.

This should hopefully now fix the colouring in Pluto.jl:

image

The show calls now also respect the IOContext, so that e.g. colouring
can be disabled as needed (c.f. printing in Pluto.jl).
@fjebaker fjebaker added the enhancement New feature or request label Jan 7, 2025
@fjebaker fjebaker linked an issue Jan 7, 2025 that may be closed by this pull request
@fjebaker fjebaker merged commit 1d74701 into main Jan 7, 2025
1 check passed
@fjebaker fjebaker deleted the fergus/io-context branch January 8, 2025 11:17
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.

Use printstyled to manage colours Colourised output broken in Pluto
1 participant