preview markdown files, closes #43