Skip to content

Instantly share code, notes, and snippets.

@katapad
Created May 17, 2013 18:08
Show Gist options
  • Save katapad/5600853 to your computer and use it in GitHub Desktop.
Save katapad/5600853 to your computer and use it in GitHub Desktop.
grunt-contrib-jadeでmarkdown→htmlにしたものを読み込ませる
grunt.initConfig
md2html:
build:
files: [
expand: true,
cwd: 'src/jade',
src: ['**/*.md'],
dest: 'src/jade',
ext: '.html'
]
jade:
terms:
hogehogehoge: hogehoge
grunt.registerTask 'html', ['md2html','jade']
!!!
html
body
include md/terms.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment