Loving Hype 4 the moment I laid eyes on it. However, is there a way to show the full html codes after export instead of it being wrapped around a script tag?
What I am trying to achieve is similar to Adobe Muse where it generates the full html codes. With that one can seamlessly design a website in Hype, export it and use, let’s say, VS Code to enhance the codes (like adding forms/data storage).
...the exported folder can be dragged-and-dropped onto Visual Studio Code. That's nice, but it seems what you want to do is not really that great of an experience. Hype exports mainly JavaScript code and it is minified.
...but that doesn't stop me from adding things like forms or "LocalStorage" to my Hype project. I just add it with HTML or JavaScript — directly in Hype. You can even right-click a JavaScript file to open it in Visual Studio Code.
Hype content is rendered on the fly from a JSON object after a document loader class makes sure that wanted and necessary preloading has completed … so no, you cannot create a ready HTML.
I wrote a helper for people using Hype to layout stuff and then need the exported HTML. This works great but it only creates a “snapshot” of the dynamic JS app Hype is constantly generating.
Be aware that Hype uses absolute positioning and renders responsive layouts with JavaScript, so making a snapshot the code remains absolute positioned but without the JavaScript (so the responsive part doesn’t work). But for some scenarios (fixed sized layouts) these exports are useful. For more extensions look at the extensions’ category in this forum and at my GitHub…