Diffdown is a real-time collaborative Markdown editor/previewer built on the AT Protocol diffdown.com
at aeb6d806234e3bfbb5d2afdf7d753b0e5c8abdce 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