mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-29 02:52:27 +08:00
server: Remove dashes from syntax theme name
This commit is contained in:
parent
7952a5a81e
commit
e1ae014b74
@ -150,7 +150,7 @@ function getSyntaxHighlightingThemes() {
|
|||||||
|
|
||||||
return {
|
return {
|
||||||
val: `default:${nameWithoutExtension}`,
|
val: `default:${nameWithoutExtension}`,
|
||||||
title: nameWithoutExtension
|
title: nameWithoutExtension.replace(/-/g, " ")
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
return allThemes;
|
return allThemes;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user