update styling to handle h2; fix code output to fix html entities and markdown rendering