Page MenuHomePhorge

No OneTemporary

Size
546 B
Referenced Files
None
Subscribers
None
diff --git a/lib/bbcode.ex b/lib/bbcode.ex
index 1726b40..09632e6 100644
--- a/lib/bbcode.ex
+++ b/lib/bbcode.ex
@@ -1,14 +1,20 @@
defmodule BBCode do
- alias BBCode.Parser
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, 4:41 AM (1 d, 16 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40552
Default Alt Text
(546 B)

Event Timeline