Extension Details

- Smarty Templates
- by Coderium
- 5 Recent Installs | 5 Total Installs
- Syntax highlighting for Smarty template files (.tpl) with support for HTML, CSS, and JavaScript. Perfect for PHP templating.
- Repository
- Bug Reports
Readme
Smarty Templates for Nova
Smarty Templates provides comprehensive syntax highlighting for Smarty template files (.tpl) in Nova.
Features
This extension provides full syntax highlighting support for:
Smarty Template Syntax
- Control structures (
{if},{else},{elseif},{foreach},{for},{while},{switch},{case}) - Variables and properties (
{$variable},{$user.name},{$item.id}) - Built-in functions (
{assign},{block},{capture},{include},{extends}) - Variable modifiers/filters (
|upper,|lower,|date_format,|escape, etc.) - Comments (
{* Smarty comment *}) - Literal blocks (
{literal}...{/literal}) - Double and single brace syntax (
{{variable}}and{variable})
Embedded Language Support
- HTML - Full support for HTML tags, attributes, and entities
- CSS - Syntax highlighting for styles within
<style>tags - JavaScript - Syntax highlighting for scripts within
<script>tags
Installation
From Extension Library
- Open Nova
- Go to Extensions → Extension Library
- Search for "Smarty Templates"
- Click Install
Manual Installation
- Download the latest release
- Double-click the
.novaextensionfile - Nova will install it automatically
Usage
Files with the .tpl extension will automatically use Smarty syntax highlighting.
Issues & Contributions
Found a bug or have a feature request? Please open an issue on GitHub.
License
MIT License - see LICENSE file for details.
Release Notes
Version 1.0.4
- Update image in README for Smarty Templates
Version 1.0.4
- Fixing HTML tag closing
Version 1.0.3
- Improved description with keywords for better searchability (tpl, PHP, templating)
Version 1.0.2
- Updated homepage link to Coderium website
Version 1.0.1
- Fixed repository links in extension metadata
Version 1.0.0
Initial release
License
MIT License
Copyright (c) 2025 Coderium
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.