1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt-doc.git synced 2025-04-25 12:07:10 -07:00

Syntax highlighting.

This commit is contained in:
Cedric Beust 2015-12-05 16:29:15 -08:00
parent c11be25ff8
commit 6b7427454a
105 changed files with 17571 additions and 91 deletions

View file

@ -0,0 +1,29 @@
<pre id="sh_008_first_line" class="brush: java; first-line: 10">
partial class Foo
{
function test()
{
yield return;
}
}
</pre>
<script type="text/javascript">
queue(function()
{
var $sh;
module('008_first_line');
test('check the first line', function()
{
$sh = $('#sh_008_first_line');
ok_sh($sh);
ok_toolbar($sh);
ok_gutter($sh);
ok_code($sh);
equals($sh.find('.gutter .index0').text(), '10', 'First line');
});
});
</script>