ScriptPostRendererResource
A PostRendererResource that copies the pre-bundled Quarkdown runtime script directory (quarkdown.min.js + source map) next to the HTML output, enabling fully offline rendering.
The script is built once by the bundleTypeScript Gradle task and shipped inside a Quarkdown installation under lib/html/script/. At render time, this resource emits the entire script directory as a FileReferenceOutputArtifact.
If scriptsLayout is null, no script resources are emitted; this keeps script-independent tests easy to construct. Otherwise, the directory must exist — a missing directory indicates a broken Quarkdown installation and raises IllegalStateException.
Parameters
the install layout node for the script/ directory, typically com.quarkdown.installlayout.InstallLayout.Html.scripts