added text filter markdown support, added image filter support