0.0.11 • Published 12 years ago

flowin v0.0.11

Weekly downloads
9
License
-
Repository
github
Last release
12 years ago

#Flow

##Compiling Jade and Markdown to HTML

###Markdown to HTML Supply the path to the .md file and the path to the output .html

Flow.compile.html({
	md     : 'path/to/content.md',
	output : 'path/to/content.html'
});

###Jade to HTML Supply the path to the .jade file and the path to the output .html

Flow.compile.html({
	jade   : 'path/to/template.jade',
	output : 'path/to/template.jade'
});

###Jade + Markdown to HTML Jade can be used as a template and markdown can be written as the content

Flow.compile.html({
	jade   : 'path/to/template.jade',
	md     : 'path/to/content.md',
	output : 'path/to/combined.html'
});