Thank you for your submission, an automated scan of your plugin code's revealed the following issues:

### Required

[[1](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/font.ts#L40)][[2](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/font.ts#L55)][[3](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/font.ts#L67)][[4](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/font.ts#L69)][[5](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/font.ts#L82)][[6](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/font.ts#L141)][[7](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/font.ts#L154)][[8](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/font.ts#L198)][[9](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/package.ts#L15)][[10](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/package.ts#L28)][[11](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/package.ts#L49)][[12](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/package.ts#L76)][[13](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/processor.ts#L134)][[14](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L313)][[15](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L377)][[16](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L405-L494)][[17](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L405-L484)][[18](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L405-L459)][[19](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L405-L446)][[20](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L405-L426)][[21](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L409)][[22](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L429)][[23](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L495)]:You should avoid assigning styles via JavaScript or in HTML and instead move all these styles into CSS so that they are more easily adaptable by themes and snippets.


[[1](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings.ts#L225)][[2](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/lib/typst.ts#L236-L241)][[3](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/lib/typst.ts#L239)][[4](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/lib/typst.ts#L243)][[5](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/lib/typst.ts#L243-L245)][[6](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/lib/typst.ts#L278)]:Using `innerHTML`, `outerHTML` or similar API's is a security risk. Instead, use the DOM API or the Obsidian helper functions: <https://docs.obsidian.md/Plugins/User+interface/HTML+elements>



---

### Optional

[[1](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/core/settings/processor.ts#L46)][[2](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/lib/font.ts#L210)][[3](https://github.com/azyarashi/obsidian-typst-mate/blob/e76d50c85b812339dd3731aeec88a6b86ba0efcc/src/lib/font.ts#L211)]:Casting to `any` should be avoided as much as possible.



---



Do <b>NOT</b> open a new PR for re-validation.
Once you have pushed all of the required changes to your repo, the bot will update the labels on this PR within 6 hours.
If you think some of the required changes are incorrect, please comment with `/skip` and the reason why you think the results are incorrect.