Hype CodeSnapshot Enabler


(Loves Hype) #1

This enabler allows you to take static code snapshots of the current state your viewing your file at. It get’s triggered by Ctrl-Alt-S and then creates the snapshot on the fly and downloads it to your computer. This snapshot doesn’t include your resources. For a proper preview of your snapshot, please export your file to a folder and then add the downloaded snapshot HTML-file there. The snapshot does not contain the enabler, just if you are wondering about that. It removes itself from the code in the exported snaps. If you need more options while making the snapshot use Ctrl + Alt + Shift + S and you will receive some questions while snapping.

Be aware that snapshots strip all javascript functionality. Buttons, actions and animations don’t work as long as they rely on Javascript (as do most things in Hype).

Download:
HypeCodeSnapshotEnabler.hype.zip

Versionhistory:
1.0 Initial release as symbol and under MIT-license
1.1 The HTML now validates against https://validator.w3.org/nu/
1.2 Has more options when using Ctrl + Alt + Shift + S


HTML without javascript
(Loves Hype) #2

↑ look at project
Updated to version 1.1
The HTML now validates against https://validator.w3.org/nu/


(Loves Hype) #3

↑ look at project
Updated to version 1.2
Has more options when using Ctrl + Alt + Shift + S

  • Choose a different resource folder name or remove it for one folder resources
  • Enable modest branding in code removing references to Hype
  • Enable multiline newlines to be stripped
  • Set language on HTML