Iona.write-exclamation-mark
You're seeing just the function
write-exclamation-mark
, go back to Iona module for more information.
Specs
write!(input :: Iona.Input.t(), path :: Path.t(), opts :: processing_opts()) :: :ok
The same as write/3
but raises Iona.ProcessingError
if it fails.
Without processing options:
Iona.source(path: "/path/to/document.tex")
|> Iona.write!("/path/to/document.pdf")
With processing options:
Iona.source(path: "/path/to/document.tex")
|> Iona.write!("/path/to/document.pdf", processor: "xetex")