UNPKG

mathup

Version:

Easy MathML authoring tool with a quick to write syntax

17 lines (13 loc) 303 B
import { handleQuote } from "./utils.js"; /** @type {import("./index.js").Scanner} */ export default function quoteScanner(char, input, { start }) { if (char !== '"') { return null; } const { end, value } = handleQuote(start, input); return { type: "text", value, end, }; }