Fix UI issues, timer logic, theme switcher, view solutions, and markdown rendering
This commit is contained in:
9
parse.js
Normal file
9
parse.js
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
import { unified } from "unified";
|
||||
import remarkParse from "remark-parse";
|
||||
import remarkMath from "remark-math";
|
||||
|
||||
const text = "C) $2 \\text{ m}$";
|
||||
const tree = unified().use(remarkParse).use(remarkMath).parse(text);
|
||||
console.log(JSON.stringify(tree, null, 2));
|
||||
|
||||
Reference in New Issue
Block a user