Hello, you can't imagine how happy I am that I found this extension!
This general is how all previewers really should be, and I'm using yours extensively to simplify my linguistic annotation work using my own CoNLL-U to HTML converter (see here for details if you're curious).
The only issue I have encountered is that large (or even medium-sized) files are not rendered at all, and I suspect it's because of this timeout:
|
setTimeout(() => { |
|
if (this.isDirty && now > this.lastConvertedAt) this.render(document); |
|
}, 500); |
Any chance you could make it customizable from the JSON and/or add functionality to disable it and only re-render on save?
If you welcome the feature but don't have time, I guess I can do at least the former myself and submit a pull request, but I don't know anything about VSCod* extension, so that would require some trial-and-erroring :)
Hello, you can't imagine how happy I am that I found this extension!
This general is how all previewers really should be, and I'm using yours extensively to simplify my linguistic annotation work using my own CoNLL-U to HTML converter (see here for details if you're curious).
The only issue I have encountered is that large (or even medium-sized) files are not rendered at all, and I suspect it's because of this timeout:
vscode-document-preview/src/preview.ts
Lines 86 to 88 in f594532
Any chance you could make it customizable from the JSON and/or add functionality to disable it and only re-render on save?
If you welcome the feature but don't have time, I guess I can do at least the former myself and submit a pull request, but I don't know anything about VSCod* extension, so that would require some trial-and-erroring :)