The default value for the theme parameter is ansi dark, so now the new default theme for markdown will be ansi dark, which is consistent with viewing source code. However the default value for the codetheme in both Markdown and RestructuredText is monokai. And the default lexer for RST defaults to python since the RST language is mostly used with python. Renamed the lexer (lexter :)) variable to `` since it will shadow the original lexer argument.
Details
The default value for the theme parameter is
ansi dark
, so now the new default theme for markdown will beansi dark
, which is consistent with viewing source code. However the default value for the codetheme in both Markdown and RestructuredText ismonokai
. And the default lexer for RST defaults to python since the RST language is mostly used with python. Renamed thelexer
(lexter :)
) variable to `` since it will shadow the original lexer argument.Relevant Issue
Closes https://github.com/Textualize/rich-cli/issues/35