add detail to html, remove detail from markdown