Make language registry optional in parse_markdown (#23221)
Motivation for this is using markdown for keymap error notifications in #23113 Release Notes: - N/A
This commit is contained in:
@@ -538,7 +538,7 @@ async fn parse_markdown(text: &str, language_registry: &Arc<LanguageRegistry>) -
|
||||
|
||||
markdown::parse_markdown_block(
|
||||
text,
|
||||
language_registry,
|
||||
Some(language_registry),
|
||||
None,
|
||||
&mut parsed_message.text,
|
||||
&mut parsed_message.highlights,
|
||||
|
||||
Reference in New Issue
Block a user