Skip to contentBuilt-in API gaps
Existing APIs to surface in the reference
- Use
string->escape() to HTML-escape text outside a template. Template interpolation already escapes it.
- Use
@slugify() to create a slug, and use url->join() and url->with(query:) to build on an existing URL.
- Use
@files(folder, pattern: ..., recursive: true) for recursive wildcard file listing. A future glob API would need to support more than this.
- Use
@t() for translation and @locale_path() for localized links. Route labels can build on both.