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

### Required

[[1](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/utils.ts#L11)][[2](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/settings.ts#L51)][[3](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/main.ts#L55)]:This is only available on desktop, use the [Platform](https://docs.obsidian.md/Reference/TypeScript+API/Platform) interface from the Obsidian API instead.

[[1](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/main.ts#L302)][[2](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/main.ts#L305)][[3](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/main.ts#L307)][[4](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/main.ts#L418)]: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.




---

### Optional

[[1](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/settings.ts#L60)][[2](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/settings.ts#L67)][[3](https://github.com/oylbin/obsidian-external-file-embed-and-link/blob/a3ae43bc78299b4a2cf51ea397c2eb9b3f6f29c3/settings.ts#L74)]: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.