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

Function insertLinks

parse.js:767–774  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

765}
766
767function insertLinks() {
768 $('h2').each(function() {
769 const aId = $(this).attr('id');
770 const text = $(this).text();
771 const line = `<a href="#${aId}" name="${aId}">#</a>${text}`;
772 $(this).html(line);
773 });
774}
775
776function unindentBanner() {
777 const montyImg = $('img').first();

Callers 1

modifyPageFunction · 0.85

Calls 1

$Function · 0.85

Tested by

no test coverage detected