comparison main_test.go @ 52:befb74a09424 draft

Code cleanup
author prologic
date Thu, 28 Oct 2021 16:10:15 +0000
parents 0adadd497d23
children
comparison
equal deleted inserted replaced
51:e054275d0938 52:befb74a09424
53 ` 53 `
54 foo: bar 54 foo: bar
55 title: Hello, world! 55 title: Hello, world!
56 --- 56 ---
57 Some content in markdown 57 Some content in markdown
58 `: Vars{ 58 `: {
59 "foo": "bar", 59 "foo": "bar",
60 "title": "Hello, world!", 60 "title": "Hello, world!",
61 "url": "test.html", 61 "url": "test.html",
62 "file": "test.md", 62 "file": "test.md",
63 "output": filepath.Join(PUBDIR, "test.html"), 63 "output": filepath.Join(PUBDIR, "test.html"),
65 }, 65 },
66 ` 66 `
67 url: "example.com/foo.html" 67 url: "example.com/foo.html"
68 --- 68 ---
69 Hello 69 Hello
70 `: Vars{ 70 `: {
71 "url": "example.com/foo.html", 71 "url": "example.com/foo.html",
72 "__content": "Hello\n", 72 "__content": "Hello\n",
73 }, 73 },
74 } 74 }
75 75