Methods
image
blob
artboard
data, nil when the artboard has no view model.
Names resolve against this script’s own file, so a format shipped in a
library reaches that library’s artboards. Prefix a name with a
library’s namespace (markdown@0/Document) to name one explicitly,
and use hostArtboard for the file being edited.
hostArtboard
artboard, but always resolves in the file being edited. When
this script is authored in that same file the two are identical, so a
library developed in place behaves as it does once shipped.
theme
openUrl
themeFont
defaultFont
codeFont
editorScroll
scrollTo to keep the preview in sync.
scrollTo
measure;
elsewhere it is ignored.
scrollEditorTo
editorScroll reports), clamped to the editor’s range.
Ignored without an attached editor. Guard against ping-pong when
combining with editorScroll driven syncing.