diff --git a/README.md b/README.md
index cac897c..0846d05 100644
--- a/README.md
+++ b/README.md
@@ -61,7 +61,6 @@ tests locally:
## TODOs
-- Do the if-markdown-else-plaintext stuff in templates
- Fix preview tests
- Do I need `SUM` for `by_id()`?
diff --git a/templates/remark/by_id.html.ep b/templates/remark/by_id.html.ep
index b49fc1a..0038aaa 100644
--- a/templates/remark/by_id.html.ep
+++ b/templates/remark/by_id.html.ep
@@ -25,7 +25,11 @@
+ <% if ($remark->{'markdown'}) { =%>
<%== markdown $remark->{'body'} =%>
+ <% } else { =%>
+ <%= $remark->{'body'} %>
+ <% } =%>