possibly first working draft

This commit is contained in:
2026-02-01 16:55:40 +01:00
parent e27aadc603
commit 92a6f84540
18 changed files with 450 additions and 270 deletions

View File

@ -7,9 +7,9 @@ import (
func TestRenderMarkdown(t *testing.T) {
cases := []struct {
name string
name string
markdown string
want string
want string
}{
{
name: "Markdown, no link",
@ -44,7 +44,7 @@ Check this out [here](http://tatata.toto)
}
strip := strings.ReplaceAll(string(got), "\n", "")
strip = strings.Trim(strip, " ")
if strip != test.want {
t.Errorf("Rendering markdown: Wanted '%s', got '%s'.\n", test.want, strip)
}