add custom rendering

Allow using custom markup.

Example for using a material design-friendly markup: http://jsfiddle.net/karimsa_97/9f2keuzx/2/