### Required

[\[1\]](https://github.com/jullanggit/obsidian-custom-reading-font/blob/58add09c1653b6d507535c91d7e2883f5597bb2f/main.ts#L18-L18)[\[2\]](https://github.com/jullanggit/obsidian-custom-reading-font/blob/58add09c1653b6d507535c91d7e2883f5597bb2f/main.ts#L20-L20)[\[3\]](https://github.com/jullanggit/obsidian-custom-reading-font/blob/58add09c1653b6d507535c91d7e2883f5597bb2f/main.ts#L24-L24)[\[4\]](https://github.com/jullanggit/obsidian-custom-reading-font/blob/58add09c1653b6d507535c91d7e2883f5597bb2f/main.ts#L46-L46)[\[5\]](https://github.com/jullanggit/obsidian-custom-reading-font/blob/58add09c1653b6d507535c91d7e2883f5597bb2f/main.ts#L56-L56)
Promises must be awaited, end with a call to .catch, end with a call to .then with a rejection handler or be explicitly marked as ignored with the `void` operator.

[\[1\]](https://github.com/jullanggit/obsidian-custom-reading-font/blob/58add09c1653b6d507535c91d7e2883f5597bb2f/main.ts#L49-L49)
Async method 'compileRegex' has no 'await' expression.

[\[1\]](https://github.com/jullanggit/obsidian-custom-reading-font/blob/58add09c1653b6d507535c91d7e2883f5597bb2f/main.ts#L59-L59)
Async method 'injectStyle' has no 'await' expression.

[\[1\]](https://github.com/jullanggit/obsidian-custom-reading-font/blob/58add09c1653b6d507535c91d7e2883f5597bb2f/main.ts#L93-L93)
Creating and attaching "style" elements is not allowed. For loading CSS, use a "styles.css" file instead, which Obsidian loads for you.



---

### Optional

