all repos — honk @ 989dbf14e0d9d79848aa8069b51b56f9239e5640

my fork of honk

quick syntax highlight test
Ted Unangst tedu@tedunangst.com
Sun, 20 Oct 2019 17:18:48 -0400
commit

989dbf14e0d9d79848aa8069b51b56f9239e5640

parent

c1bea2de5d114765b2743d07be741c9dd512f368

1 files changed, 6 insertions(+), 0 deletions(-)

jump to
M markitzero_test.gomarkitzero_test.go

@@ -35,6 +35,12 @@ output := "hello<br><pre><code>func(s string)</code></pre><p>does it go?"

doonezerotest(t, input, output) } +func TestCodeStyles(t *testing.T) { + input := "hello\n\n```go\nfunc(s string)\n```\n\ndoes it go?" + output := "hello<br><pre><code><span class=kw>func</span><span class=op>(</span>s <span class=tp>string</span><span class=op>)</span></code></pre><p>does it go?" + doonezerotest(t, input, output) +} + func TestSimplelink(t *testing.T) { input := "This is a [link](https://example.com)." output := `This is a <a class="mention u-url" href="https://example.com">link</a>.`