swallow invalid paths
add code snippet parser