is it possible to preview a html file (preview in browser) inside a sublime window, i mean i dont want the file to be opened in a browser but inside a sublime tab itself. is there a way to do that?
Preview in browser inside a sublime tab
This is the only missing piece for me in sublime text, I use terminus to have a terminal app, and an editor preview like this https://marketplace.visualstudio.com/items?itemName=auchenberg.vscode-browser-preview
would be amazing, With that app it uses chrome headless, but because vscode is basically a web browser this is easy enough.
I’d be interested to know if sublime could do this even if someone added a plugin, Can a layout window in sublime be anything other than a text input?
That’s the part I would be interested to know cause then there may be a rabbit hole someone will hopefully jump into
it seems you can add your own template as this person has done https://github.com/alvesjtiago/hover-preview/blob/master/main.py
hmmmm if you could make that template a chrome instance your on the way
ST4 has mini-html sheets: window.new_html_sheet('t', '<h1>Hi</h1>')
. This only supports a subset of html though.
Other than that we don’t have any plans of integrating a full browser into Sublime Text. Personally I always have a browser running, so I don’t see the benefit of having another browser in your text editor as well.