Interface
PlutoBoard.initialize
— Methodinitialize(
html_path::String,
;
hide_notebook::Bool = true,
scripts::Array{String} = [],
links::Array{String} = [],
) -> nothing
Initializes the PlutoBoard module with parameters. scripts
and links
are urls to scripts and stylesheets.
PlutoBoard.send_to_ws
— Methodsend_to_ws(
ws::WebSocket,
message::String
)
Send a message to a WebSocket as response. This triggers callback
in callJuliaFunction
.
PlutoBoard.run
— Functionrun(debug::Bool=false)
Runs the Pluto notebook with the PlutoBoard notebook. If debug
is true, the notebook will reload when the file changes. Additionally copies the interface.js file to the lib directory of the current directory.
PlutoBoard.javascript
— Methodjavascript(code::String) -> HypertextLiteral.HTML
Returns a HypertextLiteral.HTML object with the given javascript code.