Including file content in head html

  1. What do you want to see in Hype?

I would want a possibility to include the content of a resource library item into head html not only a link to the file. Either by checkbox or but rather and by a special tag like



In more generic approach this could be mapped to the possibly upcoming plugin system by allowing to registering commands or constants



  1. Have you found a workaround for this problem?
    Not really apart from manually copying it in.

  2. Are there examples of other apps with this feature? Or, have you seen examples of this elsewhere on the web? (Please include a URL)

  3. How high of a priority is this for you?

[ x ] Nice to Have
[ x ] Important
[ ] Can’t use Hype without it

Can you go into more detail about this.

•why you would want this.
•Benifits as apposed to a link.
•Do you mean held within a global/var / script tag in the head


Having files that are generated by third party tools can be linked into the library and they update nicely opposed to stuff I paste into head. This allow to have the content in head from the library (JSON, CSS, SVG and much more) inlined for all sorts of purposes.

Often Including something in head is more convienent over using a link. A request less and potentially removing some sandbox issues when loading files (for extentions).

It plainly inlines the file content. It's up to you to wrap it in a script or put in a declaration etc. it's much like ${ressourceFolderName}

Hape this makes it clearer.

1 Like

Thanks for the request.

There’s a lot of build tools for HTML/JS, so if not Hype’s own syntax, it might make sense have integration with them for this purpose.

1 Like