automat
String and markup formatter.
Features
- Text substitution
- Optional HTML encoding of substitutions
- Optional Extraction of a template from a function comment
- Optional creation of
HTMLElement
- Settable substitution regex patterns
Synopsis
[ to be written ]
API documentation
Detailed API docs can be found here.
Demo
A demo can be found here.
CDN versions
To use in a browser, you have two options:
- Incorporate the node module into your own browserified project.
- Use the browserified versions
automat.js
or automat.min.js
available on the Github Pages CDN.
Submodules
See the note Regarding submodules
for important information on cloning this repo or re-purposing its build template.