### Required

[\[1\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L57-L57)[\[2\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L343-L343)
Creating and attaching "style" elements is not allowed. For loading CSS, use a "styles.css" file instead, which Obsidian loads for you.

[\[1\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L429-L429)[\[2\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L507-L507)[\[3\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L514-L514)[\[4\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L545-L545)[\[5\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L572-L572)[\[6\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L583-L583)[\[7\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L629-L629)[\[8\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L630-L630)[\[9\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L640-L640)[\[10\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L641-L641)[\[11\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L651-L651)[\[12\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L652-L652)[\[13\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L662-L662)[\[14\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L663-L663)[\[15\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L673-L673)[\[16\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L674-L674)[\[17\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L684-L684)[\[18\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L685-L685)[\[19\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L699-L699)[\[20\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L735-L735)
Use sentence case for UI text.

[\[1\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L507-L507)[\[2\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L510-L510)[\[3\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L555-L555)[\[4\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L558-L558)[\[5\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L616-L616)[\[6\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L697-L697)
Use `new Setting(containerEl).setName(...).setHeading()` instead of creating HTML heading elements directly.



---

### Optional

[\[1\]](https://github.com/jarbochov/obsidian-slide-improvements/blob/4d10e4b45f2dabc31903d22483d0b438bd53a9e6/main.ts#L1-L1)
'Platform' is defined but never used.

