meld
Version:
Meld: A template language for LLM prompts
87 lines (81 loc) • 3.99 kB
HTML
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Meld Documentation - meld</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Tektur:wght@800&family=Cousine:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/css/style.css">
<script src="/js/theme.js" defer></script>
<script src="/js/terminal.js" defer></script>
</head>
<body>
<header>
<div class="container">
<a href="/" class="logo">meld</a>
<nav>
<ul>
<li><a href="/" aria-current="page">Home</a></li>
<li><a href="/docs/introduction/" >Docs</a></li>
<li><a href="https://github.com/meldorg/meld">GitHub</a></li>
</ul>
</nav>
</div>
</header>
<main>
<div class="container">
<div class="docs-layout">
<aside class="docs-sidebar">
<nav>
<h3>Documentation</h3>
<ul class="nav-list">
<li><a href="/docs/introduction/" >Introduction</a></li>
<li><a href="/docs/cli-usage/" >CLI Usage</a></li>
<li><a href="/docs/sdk-usage/" >SDK Usage</a></li>
<li><a href="/docs/variables/" >Variables</a></li>
<li><a href="/docs/error-handling/" >Error Handling</a></li>
<li><a href="/docs/grammar-reference/" >Grammar Reference</a></li>
</ul>
<h3>Directives</h3>
<ul class="nav-list">
<li><a href="/docs/directives/" >Overview</a></li>
<li><a href="/docs/directives/data/" >@data</a></li>
<li><a href="/docs/directives/define/" >@define</a></li>
<li><a href="/docs/directives/embed/" >@embed</a></li>
<li><a href="/docs/directives/import/" >@import</a></li>
<li><a href="/docs/directives/path/" >@path</a></li>
<li><a href="/docs/directives/run/" >@run</a></li>
<li><a href="/docs/directives/text/" >@text</a></li>
</ul>
</nav>
</aside>
<div class="docs-content">
<h1 id="meld-documentation" tabindex="-1">Meld Documentation</h1>
<p>Meld is a simple scripting language designed to work within markdown-like documents. It processes special <code>@directive</code> lines while preserving all other content as-is.</p>
<h2 id="documentation-structure" tabindex="-1">Documentation Structure</h2>
<ul>
<li><a href="./introduction.md">Introduction to Meld</a> - Overview and basic concepts</li>
<li><a href="./grammar-reference.md">Grammar Reference</a> - Complete syntax reference</li>
<li><a href="./directives/README.md">Directives</a> - Detailed documentation for each directive</li>
<li><a href="./variables.md">Variables</a> - Working with different variable types</li>
<li><a href="./error-handling.md">Error Handling</a> - Understanding how errors work in Meld</li>
</ul>
<h2 id="getting-started" tabindex="-1">Getting Started</h2>
<p>If you're new to Meld, start with the <a href="./introduction.md">Introduction</a> to learn the basic concepts.</p>
<p>For CLI usage information, check the <a href="./cli-usage.md">CLI Usage</a> guide.</p>
<p>If you're integrating Meld into your application, see the <a href="./sdk-usage.md">SDK Usage</a> documentation.</p>
<h2 id="implementation-notes" tabindex="-1">Implementation Notes</h2>
<p>This documentation is based on the actual implementation of Meld. The directive handlers, variable resolvers, and error handling mechanisms described here match the codebase's functionality. If you encounter any discrepancies or have questions about specific features, please refer to the tests in the repository for detailed examples of supported functionality.</p>
</div>
</div>
</div>
</main>
<footer>
<div class="container">
<p>© 2025 meld - <a href="https://github.com/meldorg/meld">GitHub</a></p>
</div>
</footer>
</body>
</html>