Fragmentor.Processor (fragmentor v0.1.1)

Internal module responsible for processing parsing operations

Link to this section Summary

Link to this section Functions

Link to this function

to_fragments!(html, options \\ [])

Link to this function

to_fragments(html, options \\ [])

@spec to_fragments(binary(), list()) ::
  {:ok,
   [
     Fragmentor.Fragment.Code.t()
     | Fragmentor.Fragment.Video.t()
     | Fragmentor.Fragment.Html.t()
   ]}
  | {:error, String.t()}
Link to this function

to_html!(markdown, options \\ [compact_output: true])

@spec to_html!(binary(), list()) :: binary()
Link to this function

to_html(markdown, options \\ [compact_output: true])

@spec to_html(binary(), list()) ::
  {:error, list()} | {:error, String.t()} | {:ok, binary()}