Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Highlight julia-repl code in Markdown specially (JuliaLang#54423)
Fixes JuliaLang#54399 by re-introducing the code seperated out from the styled Markdown PR at Jameson's request (JuliaLang#51928 (comment)). The code itself is modelled after [equivalent code in OhMyREPL](https://github.com/KristofferC/OhMyREPL.jl/blob/b0071f5ee785a81ca1e69a561586ff270b4dc2bb/src/MarkdownHighlighter.jl#L15-L31). The new `markdown_julia_prompt` face allows people to make the "prompt" shown in Markdown code visually distinct, to [avoid confusing it with the REPL prompt at a glance](KristofferC/OhMyREPL.jl#100). By way of example, I make it italic by augmenting my `faces.toml` with ```toml [markdown] julia_prompt = { italic = true } ```
- Loading branch information