()
| 839 | } |
| 840 | |
| 841 | getThemeExtension() { |
| 842 | const ownerDoc = this.rootEl?.ownerDocument ?? activeDocument; |
| 843 | const isDark = ownerDoc.body.classList.contains("theme-dark"); |
| 844 | return syntaxHighlighting(isDark ? myDarkHighlightStyle : myLightHighlightStyle); |
| 845 | } |
| 846 | |
| 847 | getLineNumbersExtension(): Extension { |
| 848 | const plugin = this.getPlugin(); |
no outgoing calls
no test coverage detected