This commit is contained in:
11
docs/snippets/elixir/config/html_output.md
Normal file
11
docs/snippets/elixir/config/html_output.md
Normal file
@@ -0,0 +1,11 @@
|
||||
```elixir title="Elixir"
|
||||
config_json = Jason.encode!(%{
|
||||
"output_format" => "Html",
|
||||
"html_output" => %{
|
||||
"theme" => "GitHub"
|
||||
}
|
||||
})
|
||||
|
||||
{:ok, result} = Kreuzberg.extract_file_sync("document.pdf", "application/pdf", config_json)
|
||||
IO.puts(result.content)
|
||||
```
|
||||
Reference in New Issue
Block a user