Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com
at 4fbddf8a36e2f679a0f490560cd9d74df92ba020 14 lines 382 B view raw
1import {LRParser} from "@lezer/lr" 2import {Input, PartialParse, Parser, TreeCursor, ParseWrapper} from "@lezer/common" 3 4export const parser: LRParser 5 6export function configureNesting(tags?: readonly { 7 tag: string, 8 attrs?: (attrs: {[attr: string]: string}) => boolean, 9 parser: Parser 10}[], attributes?: { 11 name: string, 12 tagName?: string, 13 parser: Parser 14}[]): ParseWrapper