Mint has some language features call directives which interact with the environment or the code itself at compile time.
There are currently 4 directives:
@asset- Reference assets such as images / videos / stylesheets
@svg- Inline SVG directly as
@format- Format the given code and return it as a
@documentation- Generate documentation JSON for a given component.