From 958a0ccf6bcb333a89be133b93f92e590d431bea Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 13 Apr 2025 13:07:37 -0600 Subject: write a third rust gui survey --- eleventy.config.js | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'eleventy.config.js') 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 = {}; }, }); -- cgit v1.2.3