Add escaping of $

without escaping the snippet can not be expanded