We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Go to https://github.com/trungdq88/Awesome-Black-Friday-Cyber-Monday/blob/main/README.md
Open dev tool and run this:
let total = 0 let toc = $$('.markdown-body h2, .markdown-body h3, .markdown-body h4').map(heading => { const text = heading.innerText const hash = heading.nextSibling.getAttribute('href'); const level = Number(heading.tagName.replace('H', '')) - 2; const length = heading.parentElement.nextElementSibling.querySelectorAll('tbody tr').length total += length const lengthText = length > 0 ? `(${length})` : '' return `${new Array(level).fill(' ').join('')}- [${text} ${lengthText}](${hash})`; }).join('\n') console.log(toc) console.log('total = %s', total) copy(`Total deals: ${total}\n\n${toc}`)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Go to https://github.com/trungdq88/Awesome-Black-Friday-Cyber-Monday/blob/main/README.md
Open dev tool and run this:
The text was updated successfully, but these errors were encountered: