Replies: 2 comments
-
First thing I was going to say was that this should be a very easy addition. Right now we detect HTML files to be plain text, i.e. we wrap them into a Markdown document and show the code. If skip this and just return the raw HTML, it will display. But of course it's not quite as simple, unfortunately:
These are my first thoughts on what we would have to figure out to make this work. The simplest solution would be to just remove all scripts/styles from the HTML and serve it with the injected script. Then we would not have point number 2, but I guess then the usefulness would also be voided ^^ |
Beta Was this translation helpful? Give feedback.
-
Thank you, very interesting |
Beta Was this translation helpful? Give feedback.
-
Question motivated by often writing a HTML file in nvim and thinking "darn, I wish vivify handled this, too!"
It's unclear to me whether this is totally out of scope, or perhaps an easy addition. What do you think?
Beta Was this translation helpful? Give feedback.
All reactions