fixed the newlines before markdown code in snippets
minor edit
added a startFrom method to the Trim class
testing the snippets without Yrangepos
made the approximated snippet mode more robust