custom markdown processor for marked