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