Page MenuHomePhorge

No OneTemporary

Size
525 B
Referenced Files
None
Subscribers
None
diff --git a/lib/bbcode.ex b/lib/bbcode.ex
index 09632e6..7e2a7cb 100644
--- a/lib/bbcode.ex
+++ b/lib/bbcode.ex
@@ -1,20 +1,20 @@
defmodule BBCode do
alias BBCode.Generator
alias BBCode.Parser
@moduledoc """
# BBCode
-
+
A library providing BBCode parsing for Elixir applications.
"""
def to_html(data) do
with {:ok, tree} <- Parser.parse(data),
{:ok, html} <- Generator.to_html(tree) do
{:ok, html}
else
{:error, e} ->
{:error, e}
end
end
end

File Metadata

Mime Type
text/x-diff
Expires
Wed, Nov 27, 1:23 AM (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40533
Default Alt Text
(525 B)

Event Timeline