render and cache markdown html