Documenter.jl: should `@repl` outputs mimic the syntax of terminal? (ASCII color doesn't work)

Created on 6 Apr 2021  路  2Comments  路  Source: JuliaDocs/Documenter.jl

I think @repl itself tries to mimic Julia REPL, thus it would make sense to ask its output to mimic the terminal, which for example the ASCII color characters should work at least.
This currently doesn't work since Documenter directly append the output string to the same code block with the source code, thus it only contains syntax highlighting powered by
highlight.js .

Question

Most helpful comment

I think #1441 implements what you describe?

All 2 comments

I just realize one solution is using https://juliadocs.github.io/ANSIColoredPrinters.jl/dev/

but maybe it would be nice to make it default for @repl?

I think #1441 implements what you describe?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

juliohm picture juliohm  路  6Comments

carlobaldassi picture carlobaldassi  路  5Comments

lindnemi picture lindnemi  路  3Comments

denizyuret picture denizyuret  路  6Comments

mforets picture mforets  路  3Comments