MCPcopy Index your code
hub / github.com/gto76/python-cheatsheet / main

Function main

parse.js:704–713  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

702
703
704function main() {
705 const html = getMd();
706 initDom(html);
707 modifyPage();
708 var template = readFile('web/template.html');
709 template = updateDate(template);
710 const tokens = template.split('<div id=main_container></div>');
711 const text = `${tokens[0]} ${document.body.innerHTML} ${tokens[1]}`;
712 writeToFile('index.html', text);
713}
714
715function getMd() {
716 var readme = readFile('README.md');

Callers 1

parse.jsFile · 0.70

Calls 6

getMdFunction · 0.85
initDomFunction · 0.85
modifyPageFunction · 0.85
readFileFunction · 0.85
updateDateFunction · 0.85
writeToFileFunction · 0.85

Tested by

no test coverage detected