Skip to content

Commit

Permalink
fixing embedLargeHTML
Browse files Browse the repository at this point in the history
  • Loading branch information
schlichtanders committed Nov 7, 2023
1 parent 7727556 commit 1b92a9c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name = "JolinPluto"
uuid = "5b0b4ef8-f4e6-4363-b674-3f031f7b9530"
authors = ["Stephan Sahm <[email protected]> and contributors"]
version = "0.1.46"
version = "0.1.47"

[deps]
AWS = "fbe9abb3-538b-5e4e-ba9e-bc94f4f92ebc"
AbstractPlutoDingetjes = "6e696c72-6542-2067-7265-42206c756150"
Base64 = "2a0f44e3-6c83-55bd-87e4-b1978d98bd5f"
Continuables = "79afa230-ca09-11e8-120b-5decf7bf5e25"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
3 changes: 2 additions & 1 deletion src/JolinPluto.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export get_jwt, authorize_aws
export @repeat_take!, @repeat_at, @repeat_run, @Channel
export repeat_take!, repeat_at, repeat_run, ChannelPluto
export @output_below, @clipboard_image_to_clipboard_html
export output_below, clipboard_image_to_clipboard_html
export output_below, clipboard_image_to_clipboard_html, embedLargeHTML
export Setter, @get, @cell_ids_create_wrapper, @cell_ids_push!
export cell_ids_create_wrapper, cell_ids_push!

Expand All @@ -16,6 +16,7 @@ using HTTP, JSON3, Git, JWTs, UUIDs, Base64
using AWS
using HypertextLiteral
using Continuables
import AbstractPlutoDingetjes

include("plutohooks_basics.jl")
include("authorize.jl")
Expand Down
2 changes: 1 addition & 1 deletion src/frontend.jl
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ JolinPluto.embedLargeHTML(read("figure.html", String); width="100%", height=400)
"""
function embedLargeHTML(rawpagedata; kwargs...)
pagedata = if is_running_in_pluto_process()
Main.PlutoRunner.publish_to_js(rawpagedata)
AbstractPlutoDingetjes.Display.published_to_js(rawpagedata)
else
rawpagedata
end
Expand Down

0 comments on commit 1b92a9c

Please sign in to comment.