Support for standard markdown files in .ai/guidelines/
Closed this issue · 4 comments
It'd be nice to be able to define standard markdown files in .ai/guidelines/ so IDEs nicely handle syntax highlighting.
+1. In the meantime you can work around this in PhpStorm by right-clicking the file --> Override File Type --> Markdown.
+100
what? 😮 I thought it was markdown already!, I mean those are documents!, why in the world anyone would add them as PHP scripts?
@agarzon There are many use cases where it's helpful to customise your AI guidelines on-the-fly, or to include dynamic content (e.g. from a database). Blade templates and PHP make this possible.
Just ran into an issue myself where I was documenting some custom blade components, only to realize later that they were fully expanded as HTML in my guidelines.md file!
Would prefer to use markdown for the includes as well.