We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2feda3e commit 1f5a524Copy full SHA for 1f5a524
components/config/src/config/markup.rs
@@ -108,14 +108,14 @@ impl Markdown {
108
self.extra_syntax_set = Some(extra_syntax_set);
109
}
110
111
- if self.highlight_theme == "css" {
112
- return Ok(());
113
- }
114
-
115
if let Some(extra_theme_set) = loaded_extra_highlight_themes {
116
self.extra_theme_set = Arc::new(Some(extra_theme_set));
117
118
+ if self.highlight_theme == "css" {
+ return Ok(());
+ }
+
119
// Validate that the chosen highlight_theme exists in the loaded highlight theme sets
120
if !THEME_SET.themes.contains_key(&self.highlight_theme) {
121
if let Some(extra) = &*self.extra_theme_set {
0 commit comments