Apply syntax highlighting to Hack code blocks
This is whitelisted for specific OutputFormat
s - when generating generic
Markdown, we leave syntax highlighting for the final renderer.
namespace Facebook\HHAPIDoc\MarkdownExt;
final class SyntaxHighlightingFilter extends \Facebook\Markdown\RenderFilter {...}
::getHTML(\Facebook\HHAST\Node $node): string