1.4.1 • Published 8 years ago

grunt-contrib-cml-html-converter v1.4.1

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

Grunt Task For Converting CML to HTML

Installation

npm install grunt-contrib-cml-html-converter

What Does It Do?

This converts cml to HTML using this npm package

Example Gruntfiles

most basic:

module.exports = function(grunt) {
	grunt.initConfig({
		cml: {
			onefile: {
				src: 'test.txt',
				dest: 'result.html'
			}
		}
	});
	grunt.loadNpmTasks('grunt-contrib-cml-html-converter');
};

using grunt-contrib-watch:

module.exports = function(grunt) {
	grunt.initConfig({
		cml: {
			onefile: {
				src: 'test.txt',
				dest: 'result.html'
			}
		},
		watch: {
			options: {
				livereload: {
					port: 35729
				}
			},
			all: {
				files: ['test.txt'],
				tasks: ['cml']
			}
		}
	  });
	  grunt.loadNpmTasks('grunt-contrib-cml-html-converter');
	  grunt.loadNpmTasks('grunt-contrib-watch');
};
1.4.1

8 years ago

1.4.0

8 years ago

1.3.1

8 years ago

1.3.0

8 years ago

1.2.1

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago