From d2c930a94d6e445053bcb5e5bb629851165425fc Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Thu, 20 Jun 2024 19:27:02 +0200 Subject: support css file in dictionaries (#1080) * get styles in db * get styles in settings * use styles * fix test * scope * fix comma separated * escape dict name in css selector * g regex * get styles in anki * fix tests * more specificity * whitespace * test importing * test handlebars * add styles to glossary-first --- test/data/database-test-cases.json | 1 + 1 file changed, 1 insertion(+) (limited to 'test/data/database-test-cases.json') diff --git a/test/data/database-test-cases.json b/test/data/database-test-cases.json index 04b98aa9..30aff399 100644 --- a/test/data/database-test-cases.json +++ b/test/data/database-test-cases.json @@ -3,6 +3,7 @@ "title": "Test Dictionary", "revision": "test", "sequenced": true, + "styles": "[data-sc-content='glossary'] {\n color: #ffff00;\n}", "version": 3, "importDate": 0, "prefixWildcardsSupported": true, -- cgit v1.2.3