atom-templatebuilder-tools

Suite of tools to add Template Builder support in Atom

Adam Freeman

236

2

0.7.2

SEE LICENSE IN LICENSE.md

GitHub

This package provides the following services:

Atom Template Builder Tools

This is a collection of tools to make working with Template Builder clients and components much easier.

Installation

Install through the UI or with:

apm install atom-templatebuilder-tools

Then fire up Atom.

Features

Syntax Highlighting

Localbrain config

This will highlight the lb_search.conf.template file to make it much more readable

HTML Files

This will look for ${(SOMETHING)} style tags and highlight them separate within HTML files.

Snippets

Have a look at the settings for this package to see all the snippets.

Template Blocks

Type in repeated and hit tab in your minitemplate file to see this in action. Types available are single, repeated.

Repeated Snippets

TODO: Add replace-char, replace-str, extra headers see LocalBrain Minitemplate wiki for details

Minitemplate modifiers

You can use the following snippets to fill in the tag for an existing template. Note these are all set to the opposite of the default as the assumption is that you'd only add these if you wanted to override the default values.

input, empty, trim, stop, skip, skipnot, define, definelist