Real-time project builder & browser-refresh using node.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
lib
src
test
testfiles
.gitignore
Makefile
README.md
build
flow.json
package.json

README.md

#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'
});