Hello, World!
Code
const htmlWidget = importModule("html-widget")
let widget = await htmlWidget(`
<widget>
<text>Hello, World!</text>
</widget>
`)
Script.setWidget(widget)
widget.presentSmall()
Script.complete()
Widget

Last updated
const htmlWidget = importModule("html-widget")
let widget = await htmlWidget(`
<widget>
<text>Hello, World!</text>
</widget>
`)
Script.setWidget(widget)
widget.presentSmall()
Script.complete()
Last updated