Fix templates.
Refactor markdown format.