Implement <p> handling

<p> tags are now replaced with Markdown paragraphs.