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
hi, in plugins/external-script.js, only can detect one script dom. such as the (demo) (markdown raw)
plugins/external-script.js
script
function handleExternalScript () { var container = Docsify.dom.getNode('#main'); var scripts = Docsify.dom.findAll(container, 'script'); for (var i = scripts.length; i--;) { var script = scripts[i]; if (script && script.src) { var newScript = document.createElement('script'); ['src', 'async', 'defer'].forEach(function (attribute) { newScript[attribute] = script[attribute]; }); script.parentNode.insertBefore(newScript, script); script.parentNode.removeChild(script); } } }
The text was updated successfully, but these errors were encountered:
PR welcome 😊
Sorry, something went wrong.
94d6603
thx 😊
No branches or pull requests
hi, in
plugins/external-script.js
, only can detect onescript
dom.such as the (demo) (markdown raw)
The text was updated successfully, but these errors were encountered: