Skip to main content

Crate mdvs

Crate mdvs 

Source
Expand description

mdvs โ€” Markdown Validation & Search.

A database of markdown documents: schema inference, frontmatter validation, and semantic search with SQL filtering. Single binary, no cloud, no setup.

Modulesยง

block
Rendering primitives (Block, TableStyle) and the Render trait. Rendering primitives and the Render trait.
cmd
CLI command implementations. CLI command implementations.
discover
File scanning, type inference, and schema discovery. File discovery, type inference, and frontmatter schema extraction.
index
Chunking, embedding, storage, and backend abstraction. Indexing pipeline: chunking, embedding, storage, and backend dispatch.
outcome
Outcome types for all pipeline steps and commands. Outcome types for all pipeline steps and commands.
output
Output formatting types and the CommandOutput trait.
preprocess
Preprocessor pipeline run before jsonschema validation. Preprocessor pipeline run before jsonschema validation.
render
Shared formatters (format_pretty, format_markdown) that consume Vec<Block>. Shared formatters that consume Vec<Block> and produce formatted output.
schema
Configuration file types (mdvs.toml) and shared data structures. Configuration and shared data types for mdvs.toml.
step
Step tree types for the unified command output architecture. Flat command result types for structured output.
table
Table rendering helpers (compact and record styles via tabled). Table rendering helpers for command output.