added support for textile, post templater renders selected format
updated js