// Parse Markdown window.onload = function(){ for (element of document.querySelectorAll('#articles > ul > li > div > p')) { element.innerHTML = marked.parse(element.textContent); } }