0.0.1 • Published 11 years ago
txtify v0.0.1
txtify
Browserify transform to require text file.
install
npm install txtify
Usage
Add txtify transform for grunt-browserify in Gruntfile.js
browserify: {
compile: {
options: {
transform: ['txtify']
}
}
}
You can use txtify comment in template file to pickup specified section of text.
<!doctype html>
<html>
<head></head>
<body>
<!-- txtify -->
contents
<!-- endtxtify -->
</body>
</html>
As a result, you get text contents
only.
licence
MIT
0.0.1
11 years ago