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

### Required

[[1](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/view.ts#L370)][[2](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/view.ts#L386)][[3](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/view.ts#L392)][[4](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/view.ts#L633)]: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>

[[1](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/view.ts#L539)][[2](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/view.ts#L551)]: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/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L43)]:Do not detach leaves with your custom view in `onunload`, this is an antipattern, see: <https://docs.obsidian.md/Plugins/Releasing/Plugin+guidelines#Don't+detach+leaves+in+%60onunload%60>

[[1](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/view.ts#L620)][[2](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L11)][[3](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L42)][[4](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L50)][[5](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L88)][[6](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L108)][[7](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L117)][[8](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L131)][[9](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L133)][[10](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L143)][[11](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L156)]:You should consider limiting the number of `console.log`s in your code, to not pollute the dev console.



---

### Optional

[[1](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/view.ts#L596-L603)][[2](https://github.com/geekjourneyx/obsidian-md2wechat/blob/b81d10f64df9adb74c13eb78380ef9dc564d7cb5/main.ts#L99-L106)]:Obsidian provides the [`requestUrl`](https://docs.obsidian.md/Reference/TypeScript+API/requestUrl) method, it will make sure that network requests work on every plattform.



---



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.