var fDesc=new Array(); fDesc[0] = "Markdown Preview is a Google Chrome extension that converts and previews markdown files (.md, .markdown) to HTML right inside Chrome. This is useful if you're writing markdown (ultimately targeting HTML) and want a quick preview. After installing the extension, check "Allow access to file URLs" in the options page of this addon. After that, you can open local or remote .md file in Chrome and see nicely formatted HTML."; function tShowHide(id, show) { var s = document.getElementById("desc"); if ((s.innerHTML.length<=212 || show==1) && show!=2) { s.innerHTML = fDesc[id]; if (document.getElementById('m1')) document.getElementById('m1').style.display='none'; if (document.getElementById('m2')) document.getElementById('m2').style.display='none'; if (document.getElementById('more_txt')) document.getElementById('more_txt').style.display='inline'; } else { s.innerHTML = ''; } }