getTerminalCmd
getTerminalCmd: ((language: string, magicComment: string) => null | {
exit: string;
start: string;
})
match
match: ((language: string, magicComment: string) => boolean)
name
name: string
Optional
nonInterruptible
nonInterruptible?: boolean
Optional
order
order?: number
run
run: ((language: string, code: string, opts?: {
signal?: AbortSignal;
}) => Promise<{
type: "plain" | "html";
value: string | ReadableStreamDefaultReader<any>;
}>)