Drogon CSP
Syntax highlighting for the Drogon CSP template language
Languages
How to install
With Forge Super installed, the button above opens the app on this extension, where you press Install. Nothing is installed until you do.
You can also open the Extensions panel in the app and search for Drogon CSP. The extension's id is drogon-csp.
Don't have Forge Super yet? Download it here.
README
From the extension's repository, written by its authors and not by Mentenaz. See the source.
Drogon CSP for Zed
Syntax highlighting for Drogon CSP (.csp) files in Zed.
Highlights
| Construct | |
|---|---|
<%c++ ... %> | C++ block (injected as cpp) |
<%inc ... %> | Include block (injected as cpp) |
{% EXPR %} | Expression (injected as cpp) |
<%view NAME %> | View include |
<%layout NAME %> | Layout include |
[[ NAME ]] | Variable interpolation |
| Surrounding markup | Injected as html |
Install
Clone, then in Zed: command palette → zed: install dev extension → pick the cloned directory.
Credits
marty1885/drogon-csp-language (VS Code extension).
License
MIT