Created
May 17, 2013 18:08
-
-
Save katapad/5600853 to your computer and use it in GitHub Desktop.
grunt-contrib-jadeでmarkdown→htmlにしたものを読み込ませる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!!! | |
html | |
body | |
include md/terms.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment