jade-markoa

0.1.0 • Public • Published

Jade compilation for Markoa templates

Getting Started

Install the module with: npm install jade-markoa

Use the jadeMarko transformation to compile jade files to marko files. Jade doesn't care about the tag name, so we can use it with marko tags and custom tags without any problem :)

gulp.task('jade:marko', function() {
  // custom jade compilation with Pencil using jade API
  gulp.src(['apps/**/*.jade'])
      // filename: 'base',
      .pipe(jadeMarko({basedir: 'apps'}))
      .pipe(gulp.dest('./apps'))
});

Testing

Delete the .marko files in apps/index. Run gulp jade:marko and check that apps/index now contains .marko files for the jade templates.

Contributing

Please submit all issues and pull requests to the kristianmandrup/jade-markoa repository!

Support

If you have any problem or suggestion please open an issue here.

License

The MIT License

Copyright (c) 2015, Kristian Mandrup

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Dependencies (4)

Dev Dependencies (6)

Package Sidebar

Install

npm i jade-markoa

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • kmandrup