I saw no mention of using this in Codespaces so I didn't think it would work. It works perfectly as far as I can tell. The live preview happens pretty seamlessly through a forwarded port - so you edit in the browser through GitHub's Codespaces editor and view the preview on your computer's browser. FYI I am using the Insiders version of the Codespaces editor, which might be required.
I saw no mention of using this in Codespaces so I didn't think it would work. It works perfectly as far as I can tell. The live preview happens pretty seamlessly through a forwarded port - so you edit in the browser through GitHub's Codespaces editor and view the preview on your computer's browser. FYI I am using the Insiders version of the Codespaces editor, which might be required.