Grunt plugin task to handle compiling rapydml to html.
This plugin requires Grunt and RapydML.
If you haven't used Grunt before, be sure to check out the Getting Started guide, as it explains how to create a Gruntfile as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:
npm install git://github.com/loolmeh/grunt-rapydml.git --save-dev
pip install rapydml
Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:
grunt.loadNpmTasks('grunt-rapydml');
In your project's Gruntfile, add a section named rapydml
to the data object passed into grunt.initConfig()
.
grunt.initConfig({
rapydml: {
options: {
// Task-specific options go here.
},
your_target: {
// Target-specific file lists and/or options go here.
},
},
})
Type: Boolean
Default value: false
Sets the following flag:
--no-acknowledgement Avoid the string stating that page was generated using
Type: Boolean
Default value: false
Sets the following flag:
--html5 Parse the file using HTML5 markup syntax
Type: Boolean
Default value: false
Sets the following flag:
--any Parse the file using ANY markup syntax
Type: Boolean
Default value: false
Sets the following flag:
--html Parse the file using HTML markup syntax
see the Gruntfile.js in this project for a working default config.
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
- 2014-08-10 v0.0.1 initial release
Copyright (c) 2014 loolmeh. Licensed under the MIT license.