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

### Required

[[1](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/transform/embeds/embedResolver.ts#L7)][[2](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/transform/embeds/embedResolver.ts#L157)]:This class is only available on desktop, which means that this will throw errors on mobile (that's a problem since you have `isDesktopOnly` marked as `false` in your manifest.json file.

[[1](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/transform/embeds/embedResolver.ts#L157)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually the adapter you expect.

[[1](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/texPrinter.ts#L107-L109)][[2](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/texPrinter.ts#L108)][[3](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/__tests__/texPrinter.test.ts#L50)][[4](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L477)][[5](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/main.ts#L215)][[6](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/main.ts#L368)]:You should not cast this, instead use a `instanceof` check to make sure that it's actually a file/folder.

[[1](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/plugin/settingsTabs.ts#L84)][[2](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/plugin/settingsTabs.ts#L85)][[3](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/plugin/settingsTabs.ts#L86)][[4](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/plugin/settingsTabs.ts#L100)][[5](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/plugin/settingsTabs.ts#L101)][[6](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/plugin/settingsTabs.ts#L102)][[7](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L100)][[8](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L101)][[9](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L102)][[10](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L162)][[11](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L163)][[12](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L165)][[13](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L166)]: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/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L284)][[2](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L534)]: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/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/compile/texCompiler.ts#L15)][[2](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/texPrinter.ts#L80)][[3](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/texPrinter.ts#L107-L109)][[4](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/__tests__/texPrinter.test.ts#L7-L14)][[5](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/i18n/translations.ts#L177)][[6](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L413)][[7](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/modals/captionModal.ts#L430)][[8](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/main.ts#L220)][[9](https://github.com/shibadogcap/obsidian-export-to-tex-enhanced/blob/6c52157992ed86448ee8eecd87566099e74954ba/src/main.ts#L373)]: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.