Hello there!
Our new website isn't quite finished yet...
Database all the things~~
other/components/CodeBlock.php
<?php
/**
* Highlight.js by default tries to find and highlight all
* '<pre><code>...</code></pre>' tags
*/
class CodeBlock extends Html\Pre {
function __construct($lang, ...$lines)
{
parent::__construct();
parent::set("lang", $lang);
parent::add((new Html\Code())->add(
implode("\r\n", $lines)
));
}
}
