Pure lua implementation of markdown