improve markdown rendering and update dependencies