mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
7 lines
137 B
Elixir
7 lines
137 B
Elixir
defmodule PhilomenaWeb.MarkdownRenderer do
|
|
alias Philomena.Markdown
|
|
|
|
def render(text, _conn) do
|
|
Markdown.to_html(text)
|
|
end
|
|
end
|