IMP: Markdown support (#23)

This commit is contained in:
Matthew Ryan Dillon 2020-06-25 21:18:05 -07:00 committed by GitHub
parent c1b72074ea
commit 676de86157
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 19 additions and 4 deletions

View file

@ -19,7 +19,7 @@
</div>
<% end %>
<%= link to: Routes.task_path(@conn, :show, task.id), class: "has-text-black" do %>
<%= task.value %>
<%= md_to_html task.value %>
<% end %>
</td>
</tr>

View file

@ -6,9 +6,9 @@
</div>
<% end %>
<p class="mb-5">
<%= @task.value %>
</p>
<div class="mb-5">
<%= md_to_html @task.value %>
</div>
<div class="tags">
<span class="tag is-light">updated: <%= @task.updated_at %></span>