Does this mean we can use all variables that are supported in the included template in resources when returning modified template syntax? Hence, is the returned HTML run thought the regular substitution again? I wondered because the name has already been substituted at this point…
The script itself is performing the substitutions based on items provided in the export_info_json_path file, just for the insert_at_head_start variable.
It might be interesting to expand the magic variables in Hype (like adding ${mainContainerWidth} alongside ${resourcesFolderName}), though this would be substituted before it hits the export script.