legal-markdown-js
Version:
Node.js implementation of LegalMarkdown for processing legal documents with markdown and YAML - Complete feature parity with Ruby version
37 lines (25 loc) • 975 B
Markdown
# Helper Functions
Using helper functions for data formatting including dates, currency, and string
manipulation.
## 📋 What this example demonstrates
- Helper function calls in templates
- Date formatting functions
- Currency formatting
- String manipulation helpers
## 📁 Files
- **formatted-contract.md** - Contract using helper functions
- **contract-data.json** - External data for helper functions
- **formatted-contract.output.md** - Document with formatted values
- **formatted-contract.output.html** - HTML with helper-formatted content
## 🚀 Usage
```bash
./run.sh
```
## 🔍 Key features shown
1. **Helper Functions**: Built-in formatting functions
2. **Date Formatting**: Various date display formats
3. **Currency Formatting**: Money and number formatting
4. **String Helpers**: Text manipulation and formatting
## 💡 Learn more
- [Helper Functions Guide](../../../docs/helpers.md)
- [Template Functions](../../../docs/template-functions.md)