add slim and markdown support