aboutsummaryrefslogtreecommitdiff
path: root/eleventy.config.js
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2025-04-13 13:07:37 -0600
committerMelody Horn <melody@boringcactus.com>2025-04-13 13:07:37 -0600
commit958a0ccf6bcb333a89be133b93f92e590d431bea (patch)
treee110eb5671b7784e6a4dacd0ca80289efddf8c6b /eleventy.config.js
parent224de1edd592572f3490b130f0b258b162add3af (diff)
downloadboringcactus.com-958a0ccf6bcb333a89be133b93f92e590d431bea.tar.gz
boringcactus.com-958a0ccf6bcb333a89be133b93f92e590d431bea.zip
write a third rust gui survey
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 = {};
},
});