What I’m trying to do
I have obsidian publish running on a custom domain, and I am curious how others actually develop and test their publish.js code, since it can’t be tested offline. I am also wondering if there is a publish API so I can access certain javascript actions from the website eg the open/close sidebar action, etc. same goes for testing publish.css although that is a bit easier to test. Am I just missing some fundamental commonly-used web development technique.
Things I have tried
Testing my code in the javascript console on my publish site, then copying it into publish.js and deploying it.