How to use: Features✅ Image support PartialsPartials are automatically discovered and given names based off of the workspace folder root. So if these are the subfolders of the folder you've opened in VS Code:
Then the two partials will be registered as HelpersHelpers can be defined as javascript modules and will be automatically discovered and registered. Helpers can be placed anywhere in the Workspace, as long as they use the double file extentions like: As an example, a typical helper file could look like this:
And could be used like this inside your Handlebars template to properly cast the
Auto-refreshChanges to Handlebars templates applied in real-time. Included partials need to be saved in order for the change to take effect. Generate context file from templateRight-click on a handlebars file in the sidebar or on the editor tab and select Handlebars: Generate context file. A new file named
Report an issueFound a problem or have a feature request? Please post an issue over at our GitHub repository: 2.0 roadmap📍 Override naming of partials using workspace-configuration See https://github.com/johnknoop/vscode-handlebars-preview/milestone/1 for more details |