now supports rendering of snippets in multiple divs