Fix function declaring error, use a better markdown plugin