Archived
1
0
Fork 0
This repository has been archived on 2024-07-25. You can view files and clone it, but cannot push or open issues or pull requests.
paren/par/types.ts
Dmitriy Pleshevskiy e8c6ce97c6
Parser for markdown documents (#6)
Closes #1

In this MR I implement only basic functionality

- [x] AXT Heading
- [x] Paragraph
- [x] Text Node
- [x] Softbreak
- [x] Links
- [x] List

Reviewed-on: #6
Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
Co-committed-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
2022-06-13 14:58:22 +00:00

5 lines
105 B
TypeScript

import { AnyNode } from "../core/node.ts";
export interface Parser {
parse(input: string): AnyNode;
}