Properties
name
name: string
Optional order
order?: number
Methods
getTerminalCmd
- getTerminalCmd(language: string, magicComment: string): null | { exit: string; start: string }
Parameters
language: string
magicComment: string
Returns null | { exit: string; start: string }
match
- match(language: string, magicComment: string): boolean
Parameters
language: string
magicComment: string
Returns boolean
run
- run(language: string, code: string): Promise<{ type: "plain" | "html"; value: string | ReadableStreamDefaultReader<any> }>
Parameters
language: string
code: string
Returns Promise<{ type: "plain" | "html"; value: string | ReadableStreamDefaultReader<any> }>