From 30dc61f34a8be6b733e09eec943a67c34e51da6c Mon Sep 17 00:00:00 2001 From: TEC Date: Sun, 11 Aug 2024 13:26:55 +0800 Subject: [PATCH] Stylistically disambiguate julia> in docstrings If the styling is exactly the same, occasionally this can produce a bit of confusion or a double take when people mix it up with the REPL Julia prompt. --- stdlib/Markdown/src/Markdown.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/Markdown/src/Markdown.jl b/stdlib/Markdown/src/Markdown.jl index 83fb58e2849ee..9720820920e2d 100644 --- a/stdlib/Markdown/src/Markdown.jl +++ b/stdlib/Markdown/src/Markdown.jl @@ -47,7 +47,7 @@ const MARKDOWN_FACES = [ :markdown_h6 => Face(height=1.05, inherit=:markdown_header), :markdown_admonition => Face(weight=:bold), :markdown_code => Face(inherit=:code), - :markdown_julia_prompt => Face(inherit=:repl_prompt_julia), + :markdown_julia_prompt => Face(slant=:italic, foreground=:bright_green, inherit=:repl_prompt_julia), :markdown_footnote => Face(inherit=:bright_yellow), :markdown_hrule => Face(inherit=:shadow), :markdown_inlinecode => Face(inherit=:markdown_code),