Browser playground · no install required

Find the template problems hiding in plain sight.

Edit a Handlebars example and see the same diagnostics hbsguard reports in your project. Everything runs locally in this tab.

Template

profile-card.hbs

Live linting

Trailing whitespace is highlighted in the editor. This button fixes supported mustache and partial spacing, trailing spaces, final newlines, and line endings; indentation and spacing that cannot be safely fixed need manual edits. Changes stay in the editor; CLI --fix writes files. Review changes to strings or preformatted text.

Tab indents; Shift+Tab unindents the current line or selected lines. Press Esc, then Tab to move focus out of the editor (press Esc twice if text is selected).

Problems

Experiment

Configuration

Valid JSON

Try adding rule overrides

JSON is merged over the base config and applied as you type.

Available rules

Add a rule as a warning, then adjust its severity or options.

Resolved configuration

The complete configuration hbsguard uses for this example.


              
Your template stays in your browser.

No source code is uploaded or stored by this Playground.