Improved syntax highlighting

This commit is contained in:
dylan
2023-05-06 12:05:02 -07:00
parent 7bf0838e4e
commit 60542b63c0
3 changed files with 17 additions and 8 deletions

View File

@ -44,4 +44,8 @@ export const evalCode = (code: string) => {
// deno-lint-ignore no-explicit-any
export const addToContext = (name: string, value: any) => {
G[name] = value;
}
export const getContext = () => {
return G;
}