Ghostwriter depend on QtWebKit/QtWebEngine, so is not JavaScript-free.
> HTML preview has been ported from QtWebKit to QtWebEngine (Chromium).
> HTML preview has been ported from QtWebKit to QtWebEngine (Chromium).
I suppose there is a way to deactivate Javascript execution in QtWebEngine but I don't know enough about it. But given that Markdown allows inline HTML and JavaScript, I don't see how you could have an accurate WYSIWYG representation if you don't have a Javascript engine available somewhere.