Would be nice to enhance the example code with a copy copy button like jsduck used to have.
We can probably base it on https://www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-site-tpl-copy.js by Krinkle
Demo:
Would be nice to enhance the example code with a copy copy button like jsduck used to have.
We can probably base it on https://www.mediawiki.org/w/index.php?title=MediaWiki:Gadget-site-tpl-copy.js by Krinkle
Demo:
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
styles: Remove background color from button | jsdoc/wmf-theme | master | +0 -1 | |
Add copy example button to jsdoc theme | jsdoc/wmf-theme | master | +90 -1 |
Change #1027110 had a related patch set uploaded (by TheDJ; author: TheDJ):
[jsdoc/wmf-theme@master] Add copy example button to jsdoc theme
Change #1027110 merged by jenkins-bot:
[jsdoc/wmf-theme@master] Add copy example button to jsdoc theme
Change #1027498 had a related patch set uploaded (by Alex Paskulin; author: Alex Paskulin):
[jsdoc/wmf-theme@master] styles: Remove background color from button
Change #1027498 merged by jenkins-bot:
[jsdoc/wmf-theme@master] styles: Remove background color from button