Highlights.jl icon indicating copy to clipboard operation
Highlights.jl copied to clipboard

Implement show methods

Open Ellipse0934 opened this issue 3 years ago • 1 comments

Currently highlight only supports html & latex MIME types which are written to a stream. For other julia projects to use Highlights it would be helpful to implement a show(x::Highlights.Compiler.Context) so it can be used easily by various outputs like Pluto(HTML), Terminal,.etc

Ellipse0934 avatar Feb 13 '22 16:02 Ellipse0934

Yeah, adding shows for the valid MIMEs is fine by me.

MichaelHatherly avatar Feb 19 '22 19:02 MichaelHatherly