JSON Schema Support
Validate structure, types, and required fields against standard JSON Schema definitions. Ensure every document adheres to your organizational standards before compilation begins.
From raw Markdown to production-ready PDFs. Texkit provides the engine, the validation, and the integration you need to Compose. Compile. Ship.
A logic-aware templating language with typed variables, conditional blocks, and loops. Write once, render anywhere.
Texkit parses YAML front-matter and JSON metadata into a typed context. Access data using the {{ variable }} syntax. The engine handles nested objects, arrays, and computed properties automatically.
Variables are type-checked at compile time, preventing runtime errors where undefined keys might render as empty strings.
Control the flow of your documents with {% if %} and {% else %} blocks. Logic is evaluated against the document context, allowing for dynamic content generation based on metadata, user roles, or build flags.
Define JSON Schema or custom rule sets for your document metadata and content. Invalid documents fail fast with precise, line-level error messages.
Validate structure, types, and required fields against standard JSON Schema definitions. Ensure every document adheres to your organizational standards before compilation begins.
Write custom validation rules in JavaScript or TypeScript. Enforce terminology consistency, check for broken links, or validate API versioning in your documentation.
Stop the build process immediately upon encountering validation errors. Texkit provides actionable error messages pointing directly to the source file and line number.
From a single Markdown source, generate HTML, PDF, EPUB, plain text, man pages, and custom formats. Output adapters are first-class plugins.
Extend Texkit with custom transformers, renderers, and validators. The plugin API is designed for TypeScript users with full type safety.
Plugins hook into specific stages of the pipeline: onParse, onTransform, onValidate, onRender, and onEmit. Each hook receives a typed document context and returns a transformed context.
Whether you need to integrate with a legacy CMS, generate a custom XML schema, or perform heavy data enrichment, plugins run in isolation and can be swapped out without touching the core engine.
Browse the Texkit Registry for plugins ranging from PDF generation (via Puppeteer) to API documentation generation (via OpenAPI specs).
Develop locally with instant feedback. The CLI watches your source files and recompiles automatically as you type.
Run texkit compile --watch to keep your build process alive. Changes to Markdown, templates, or config files trigger immediate recompilation.
Compare your compiled output against the previous build. texkit diff generates a unified diff view of the generated HTML or text, making it easy to spot unintended changes.
Join thousands of developers using Texkit to automate their documentation pipelines. No credit card required.