minor formatting fixes, and added markdown rendering support.