I found the solution!
It turns out, you need to make sure that the project is in “preview” mode first. Click on the project menu, then click “Preview” under the “View” heading. Now, when you export the project to HTML, the USFM markers won’t be visible. (They’re hidden or commented out in the source code.)
I haven’t found a way to hide the contents of the \toc1
, \toc2
headers at the beginning of a book, but that’s not a big deal, I’m only sharing these HTML files as drafts any way.