in src/InspectorCLI.hack [134:154]
private function getXHPDocument(HHAST\Node $node): x\node {
return (
<html>
<head>
<style>
{\file_get_contents(__DIR__.'/syntax.css')}
{\file_get_contents(__DIR__.'/inspector.css')}
</style>
</head>
<body>
<div class="info">Click on some code to get started.</div>
<pre>
<code class="language-hack">
{$this->getXHPForNode($node)}
</code>
</pre>
<script>{\file_get_contents(__DIR__.'/inspector.js')}</script>
</body>
</html>
);
}