 
   ## Examples
 
-      iex> callback = fn (result) -> "CommonMark is #{result |> String.strip}" end
+      iex> callback = fn (result) -> "CommonMark is #{result |> String.trim}" end
       iex> Cmark.to_commonmark_each(["list", "test"], callback)
       ["CommonMark is list", "CommonMark is test"]
 


  ## Examples

      iex> callback = fn (result) -> "XML is #{result}" |> String.strip end
      iex> Cmark.to_xml("test", callback)
      "XML is <?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE document SYSTEM \"CommonMark.dtd\">
      <document xmlns=\"http://commonmark.org/xml/1.0\">\n  <paragraph>\n    <text>test</text>\n  </paragraph>
      </document>"

      iex> callback = fn (results) ->
      iex>   Enum.map(results, &String.strip/1) |> Enum.join("<joiner>")
      iex> end
      iex> Cmark.to_xml(["list", "test"], callback)
      "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE document SYSTEM \"CommonMark.dtd\">
      <document xmlns=\"http://commonmark.org/xml/1.0\">\n  <paragraph>\n    <text>list</text>\n  </paragraph>
      </document><joiner><?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<!DOCTYPE document SYSTEM \"CommonMark.dtd\">
      <document xmlns=\"http://commonmark.org/xml/1.0\">\n  <paragraph>\n    <text>test</text>\n  </paragraph>
      </document>"

  """


  ## Examples

      iex> callback = fn (result) -> "Manpage is #{result |> String.trim}" end
      iex> Cmark.to_man_each(["list", "test"], callback)
      ["Manpage is .PP\nlist", "Manpage is .PP\ntest"]

