change markdown function to modifier