Skip to content

Commit

Permalink
move example code from include to index
Browse files Browse the repository at this point in the history
  • Loading branch information
silkentrance committed Mar 31, 2019
1 parent 8b4aba5 commit 4a837b6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 13 deletions.
12 changes: 0 additions & 12 deletions _includes/example-code.md

This file was deleted.

17 changes: 16 additions & 1 deletion index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,22 @@ order: 0
<img src="/assets/img/logo-square.svg">
</div>
<div class="tile is-child is-8">
<div class="content">{% include example-code.md %}</div>
<div class="content">
{% highlight TypeScript linenos %}
import { suite, test } from '@testdeck/mocha';
import * as chai from 'chai';

@suite
class TestSuite {

@test
someTest() {

chai.assert.isOk(false);
}
}
{% endhighlight %}
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 4a837b6

Please sign in to comment.