# Smart Templates plugin for Obsidian
Smart Templates allows you to create and use configurable templates utilizing Smart Environments. This plugin is a companion to the [[Smart Connections plugin for Obsidian]]
Features:
- AI-Powered: Leverage AI models to generate content based on your templates, variable prompts, and current context (note or highlighted text).
- Variable Prompts: Define prompts for each variable for more control over content generation.
- Flexible Configuration: Choose your preferred AI model platform.
- Manual Prompt Input: Use {{ "Your prompt here" }} syntax for on-the-fly custom prompts within templates.
- EJS Syntax Support: Utilize EJS syntax for more advanced template logic and formatting.
## References
- Source code: https://github.com/brianpetro/obsidian-smart-templates