diff --git a/spike/review/reinvent/ezmded/ui/render.go b/spike/review/reinvent/ezmded/ui/render.go index 1e40b4f..d04148a 100644 --- a/spike/review/reinvent/ezmded/ui/render.go +++ b/spike/review/reinvent/ezmded/ui/render.go @@ -41,6 +41,29 @@ func main() { "Title": "title id11", "PID": "id00", "PTitle": "title id00", + "Content": ` +# hello + +## world + +| this | is | my | table | +| ---- | ---| ---| ----- | +| hey | +| ya | hey | ya | + +* and + * a bulleted + * list + +> but here is a quote + +` + "```" + `go +// and some go code +func main() { + log.Println("hi") +} +` + "```" + ` + `, }, "Tree": `{ "Leaf": {"Title": ""}, diff --git a/spike/review/reinvent/ezmded/ui/templates/_editor.ctmpl b/spike/review/reinvent/ezmded/ui/templates/_editor.ctmpl index 269704d..12daf70 100644 --- a/spike/review/reinvent/ezmded/ui/templates/_editor.ctmpl +++ b/spike/review/reinvent/ezmded/ui/templates/_editor.ctmpl @@ -28,27 +28,6 @@ }
@@ -163,7 +66,7 @@ {{ .This.Title }} -
+
@@ -205,5 +108,6 @@ }, status: ["lines", "words", "cursor"], }) + easyMDE.value({{ .This.Content }}) {{ end }}