convert to ST2 snippets