Monorepo with yarn workspaces requires yarn 3.2
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
import { SysCallMapping } from "../../plugos/system";
|
||||
import { parse } from "../parse_tree";
|
||||
import { Language } from "@codemirror/language";
|
||||
import type { ParseTree } from "../tree";
|
||||
|
||||
export function markdownSyscalls(lang: Language): SysCallMapping {
|
||||
return {
|
||||
"markdown.parseMarkdown": (ctx, text: string): ParseTree => {
|
||||
return parse(lang, text);
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user