I second the interest and would like to see this feature implemented in the self-hosted edition. Any chance on putting this on the roadmap for the next release(s)?
Thanks in advance for having a look.
One option is to use Puppeteer (or any headless browser automation tool) to grab the html of the page (after letting JS execute, or even running your custom JS), then feed it to whatever conversion script you use. That is what I do, and it works very well.