Using this WYSIWYG HTML Editor in MAC:
Currently, you can download DMG file of this code editor from one of its releases on its GitHub page. Or, if you want to give a try to its web version then you can access that from here. Mount the DMG and then move it to the Applications folder. First time you run this app, it will blocked so you will have to allow it from the MAC’s security preferences. After that, its interface will show up which is similar to this screenshot.
In this way, you can use this simple WYSIWYG HTML editor on MAC. Just install it and then simply start writing the coding ideas that you have. When you want to export whatever you have written ,simply use Command + Shift + S shortcut to do that. Also, if you like dark mode then you can quickly switch to that.