mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-12-03 08:08: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
|