snippet code with markdown support