View Source Djot (Djot v0.1.0)

Transform a Djot string input to HTML output.

No sanitization is performed, the document comes directly from the Djot transformer.

Summary

Functions

@spec to_html(String.t()) :: {:ok, String.t()} | {:error, :djot_transform}
@spec to_html!(String.t()) :: String.t()