Home

Awesome

<h1 align="center">TemplateDX</h1> <p align="center"> <a href="https://github.com/puzzlet-ai"> <img src="https://www.puzzlet.ai/images/logo.svg" alt="TemplateDX Logo" width="200"/> </a> </p> <p align="center"> <strong>The declarative, extensible & composable type-safe template engine.</strong> </p> <p align="center"> <a href="https://discord.gg/P2NeMDtXar">Discord</a> | <a href="https://puzzlet-ai.github.io/templatedx">Docs</a> | <a href="https://github.com/puzzlet-ai/promptdx">PromptDX</a> | <a href="https://puzzlet.ai">Puzzlet</a> </p>

Overview

TemplateDX is a declarative, extensible & composable type-safe template engine based on Markdown and JSX.

TemplateDX uses a straightforward, readable syntax to enhance the developer experience for those using templating engines.

TemplateDX was built as the foundation for PromptDX and is inspired by MDX.

Example

import Blog from './blog.mdx';

# Main

<Blog title="Turtles">
 Turtles are really cool...
</Blog>

Features

TemplateDX supports:

  1. Type Safety
  2. Syntax Highlighting
  3. Markdown
  4. Variables
  5. Filters
  6. Components
  7. Tags
  8. Expressions

Read our docs to learn more.

Contributing

We welcome contributions! Please check out our contribution guidelines for more information.

Community

Join our community to collaborate, ask questions, and stay updated:

License

This project is licensed under the MIT License.