mirror of
https://github.com/denoland/deno.git
synced 2025-08-04 02:48:24 +00:00
feat(jupyter): Add Deno.jupyter.image
API (#26284)
This commit adds `Deno.jupyter.image` API to display PNG and JPG images: ``` const data = Deno.readFileSync("./my-image.jpg"); Deno.jupyter.image(data); Deno.jupyter.image("./my-image.jpg"); ```
This commit is contained in:
parent
8d2960d7cc
commit
a1bcdf17a5
4 changed files with 108 additions and 1 deletions
|
@ -471,6 +471,8 @@ const NOT_IMPORTED_OPS = [
|
|||
// Related to `Deno.jupyter` API
|
||||
"op_jupyter_broadcast",
|
||||
"op_jupyter_input",
|
||||
// Used in jupyter API
|
||||
"op_base64_encode",
|
||||
|
||||
// Related to `Deno.test()` API
|
||||
"op_test_event_step_result_failed",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue