• Packages
  • Themes
  • Documentation
  • Blog
  • Discuss
Sign in

atom-underscore

Underscore template support in Atom
  • #underscore
  • #template
  • #templates
  • #atom-underscore
  • #syntax
dborstelmann
0.1.3 743
3
  • Repo
  • Bugs
  • Versions
  • License
Flag as spam or malicious

Underscore template syntax highlighter and syntax validator with custom delimiters for the Atom text editor.

https://atom.io/packages/atom-underscore

Any contributions are greatly appreciated. If you want me to add snippets, please make a New Issue or email me. Thanks!

Installation

apm install atom-underscore

Please visit the package settings page or your config.cson file to change the delimiters that you use in your underscore templates.

  • Always use valid regular expressions that follow the style in Underscore's Template Settings. (I prefer Mustache style as you can see in the screenshot below.)

Delimiter colors are up to you

  • Just add a style in your Atom stylesheet that overwrites .tag.template.underscore.boundary.

Validate your template at any time

  • Right-click in the editor pane and click on Validate Underscore Template
  • Find the Atom Underscore package in the Packages menu
  • Shift-Cmd-U at any time

Package Settings

Author Note

Released by Dan Borstelmann on November 6, 2016.

I think this package is bad news.

Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.

  • Terms of Use
  • Privacy
  • Code of Conduct
  • Releases
  • FAQ
  • Contact
with by