My use case is generating UnicodePlots plots in Plots documentation. We use DemoCards.jl which in turn uses Literate.jl to generate the examples.
Issue: we miss the colors in the generated Documenter html files, hence producing colorless text plots.
I've identified the issue to come from the Literate side.
A trivial working patch is proposed in #275.
So for me to go further :
In Documenter.jl, there is the ansicolor keyword which allows colored output in @example blocks (as for https://juliaplots.org/UnicodePlots.jl/stable/), so I'm looking for a way to reproduce the same feature using DemoCards.jl and Literate.jl.
My use case is generating
UnicodePlotsplots inPlotsdocumentation. We useDemoCards.jlwhich in turn usesLiterate.jlto generate the examples.Issue: we miss the colors in the generated
Documenterhtmlfiles, hence producing colorless text plots.I've identified the issue to come from the
Literateside.A trivial working patch is proposed in #275.
So for me to go further :
:colorbe added as a configuration option ?In
Documenter.jl, there is theansicolorkeyword which allows colored output in@exampleblocks (as for https://juliaplots.org/UnicodePlots.jl/stable/), so I'm looking for a way to reproduce the same feature usingDemoCards.jlandLiterate.jl.