You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to view litvis files without downloading them? Something akin nbviewer but for litvis files?
If not could there be? Either something like nbviewer's web view for jupyter notebooks or a chrome extension which would allow you to view litvis examples as rendered litvis files in context.
The text was updated successfully, but these errors were encountered:
👋 @mcnuttandrew you can export a litvis document as an HTML file by right-clicking on the preview.
As of making a proper online preview with editing and live updates, this is pretty challenging. The most complex part is to run Elm code either on a server or in a browser. The codebase was designed with allowing for web view in mind, so if you or others are interested in implementing it, I'll be happy to help. Sadly, I don't have enough time to work on it myself.
This may be overkill for your use case, butGitHub codespaces may offer an approach to do this (and much more besides). It allows a docker containers to be distributed via the browser that can contain the relevant elm, prettier, Vega-lite and VS Code plugins – everything needed by litvis for full editing as well as viewing.
As codespaces are currently in beta, we cannot roll this out for litvis yet, but it looks promising and we will continue to experiment with them.
Is there a way to view litvis files without downloading them? Something akin nbviewer but for litvis files?
If not could there be? Either something like nbviewer's web view for jupyter notebooks or a chrome extension which would allow you to view litvis examples as rendered litvis files in context.
The text was updated successfully, but these errors were encountered: