Create markdown filter and html escaping directive