mdtype-core 0.1.0

Core types and traits for mdtype — a type checker for Markdown.
Documentation
1
2
3
4
5
6
7
8
9
10
11
# mdtype-core

Core data model + traits for [`mdtype`](https://github.com/serejke/mdtype) — a type checker for Markdown.

This crate defines the `Diagnostic`, `Severity`, `Fixit`, `Summary`, `Schema`, `SchemaEntry`, `ParsedDocument` types and the `BodyRule`, `BodyRuleFactory`, `SchemaSource`, `Reporter`, `Validator` traits, plus the parser and the default `CoreValidator`. It depends on no sibling crate — downstream users may build on `mdtype-core` alone and supply their own schema source, rules, and reporter.

See [`docs/extending.md`](https://github.com/serejke/mdtype/blob/main/docs/extending.md) in the project repo for a working example.

## License

MIT.