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

### Required

[[1](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L271)][[2](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L276)][[3](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L281)][[4](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L442)][[5](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L443)][[6](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L444)][[7](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L777)][[8](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L854)]: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/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L764)][[2](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L765)][[3](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L766)][[4](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L807)][[5](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L808)][[6](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L809)][[7](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L817)][[8](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L818)][[9](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L819)]: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/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L784)][[2](https://github.com/fgilmet/obsidian-snippet-package-code/blob/07484947bf2ef44e16fd54b0be51de40dca70743/main.ts#L877)]: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.