Skip to content

Latest commit

 

History

History
49 lines (31 loc) · 968 Bytes

README.md

File metadata and controls

49 lines (31 loc) · 968 Bytes

cheatsheets

A collection of snippets for various things.

Template Types

templates

The original type. Kind of a mis-mash.

projects

The first improvement.

Currently, there is only one project -- a ReactJs project.

snips

These work well.

Meta words

The system uses so-called meta words in place of a template system. So, for example, a template might have something ilke the following. The meta-words will be repaced -- there are no template tags.

  • foo
  • bar
  • baz
  • quxx
Class foo {
public:
  foo();
  foo(const foo & that);
  ~foo();

};

The advantage of meta-words is twofold:

  1. The template are full featured documents. The example above will compile as-is. Any editor built for your document type will handle these templates correctly. No more issues having your edit complain because it doesn't understand your template markup.
  2. This means that virtually every document on your system is already a template.