aboutsummaryrefslogtreecommitdiff
path: root/eleventy.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'eleventy.config.js')
-rw-r--r--eleventy.config.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/eleventy.config.js b/eleventy.config.js
index 3d8999f..fd9d653 100644
--- a/eleventy.config.js
+++ b/eleventy.config.js
@@ -62,6 +62,16 @@ export default function (eleventyConfig) {
operator: /=>/,
punctuation: /[(){},]/,
};
+ // This may take some actual work, though.
+ Prism.languages.slint = {
+ keyword: /component|export|inherits|property|root/,
+ "class-name": /AppWindow|VerticalBox|LineEdit/,
+ builtin: /Text|\bWindow|string/,
+ string: /"[^"]+"/,
+ operator: /:|<=>|\./,
+ punctuation: /[{}<>;]/,
+ property: /label|text/,
+ }
Prism.languages.text = {};
},
});