### Required

[\[1\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L23-L23)[\[2\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L36-L36)[\[3\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L97-L97)[\[4\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L113-L113)
Unexpected console statement. Only these console methods are allowed: warn, error, debug.

[\[1\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L427-L427)[\[2\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L441-L441)[\[3\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L458-L458)[\[4\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L470-L470)[\[5\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L506-L506)
Avoid setting styles directly via `element.style.width`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L428-L428)[\[2\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L442-L442)[\[3\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L459-L459)[\[4\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L471-L471)[\[5\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L507-L507)
Avoid setting styles directly via `element.style.maxWidth`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L429-L429)[\[2\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L436-L436)[\[3\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L443-L443)[\[4\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L508-L508)
Avoid setting styles directly via `element.style.overflow`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L494-L494)
Avoid setting styles directly via `element.style.transform`. Use CSS classes for better theming and maintainability.

[\[1\]](https://github.com/toole2525/mermaid-view-enhancer/blob/cdb4f942cb727e01d7cd539b2198390d3cabe953/src/main.ts#L495-L495)
Avoid setting styles directly via `element.style.transition`. Use CSS classes for better theming and maintainability.



---

### Optional

