We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 727f300 commit 72bbabaCopy full SHA for 72bbaba
1 file changed
lib/htmd.ex
@@ -11,6 +11,11 @@ defmodule Htmd do
11
iex> Htmd.convert("<h1>Hello World</h1>")
12
{:ok, "# Hello World"}
13
14
+ ## If you want to ignore errors and get an empty string on failure
15
+
16
+ iex> Htmd.convert!("<h1>Hello World</h1>")
17
+ "# Hello World"
18
19
## Advanced Usage with Options
20
21
iex> Htmd.convert("<h1>Title</h1><ul><li>Item</li></ul>", [
0 commit comments