@@ -43,16 +43,21 @@ end up using it, please let me know!
43
43
the more complicated parts of a Yomitan dictionary. You can create them and
44
44
add them to a dictionary using the ` setIndex() ` , ` addTerm() ` , and ` addKanji() `
45
45
methods of the ` Dictionary ` class.
46
- - You might want to set ` "js/ts.implicitProjectConfig.checkJs": true ` in your
47
- VSCode settings to get type checking for JavaScript files and not have to deal
48
- with your dictionaries failing to validate against the Yomitan schemas.
46
+ - If using JS, you might want to set
47
+ ` "js/ts.implicitProjectConfig.checkJs": true ` in your VSCode settings to get
48
+ type checking for JavaScript files and not have to deal with your dictionaries
49
+ failing to validate against the Yomitan schemas. However, I recommend using
50
+ TypeScript.
49
51
- In particular, it might be a good idea to check out the
50
52
[ Yomitan Schemas] ( https://github.com/MarvNC/yomichan-dictionaries/blob/master/how-to-make-yomichan-dictionaries.md#read-the-schemas )
51
53
as well as the type definitions within the package so that you know what's
52
54
available for use when creating detailed definitions.
53
55
- You can then type your objects in JS by using JSDoc comments to provide editor
54
56
intellisense and type checking. You can see this in action in
55
57
[ example.js] ( ./examples/example.js ) .
58
+ - You can simply add a ` styles.css ` file using the ` addFile() ` method to add
59
+ custom CSS to your dictionary.
60
+ [ Read more in the official docs] ( https://github.com/themoeway/yomitan/blob/master/docs/making-yomitan-dictionaries.md#adding-custom-css ) .
56
61
57
62
### Dictionary Class
58
63
0 commit comments