]> git.evergreen-ils.org Git - working/eg-antora.git/commit
add copy to clipboard button to source blocks
authorDan Allen <dan@opendevise.com>
Fri, 11 Dec 2020 00:57:57 +0000 (17:57 -0700)
committerDan Allen <dan@opendevise.com>
Sat, 12 Dec 2020 02:30:58 +0000 (19:30 -0700)
commit1a66a0d7ae045716290efc957cf8177f07bd9d52
tree46ea5266dd4871439a46c4bcfb078a083e1f964a
parent96d099840cf24b3e77b9839dc5f0fbebdcedf2ef
add copy to clipboard button to source blocks

* add subsetted SVG icon sprite for octicons
* add copy to clipboard button to source blocks (visible on hover)
* replace pseudo-element for source language with a toolbox (managed by JavaScript)
* autodetect literal block with command and promote to a console source block
* intelligently extract commands from console source block, flatten them, and join them in a chain
* prevent command prompt(s) in console source block from being selected
* darken color for annotation on source block
* configure svgo to preserve desc element
* configure svgo to preserve ID prefixes for icons
gulp.d/tasks/build.js
preview-src/index.adoc
src/css/doc.css
src/css/vars.css
src/img/octicons.svg [new file with mode: 0644]
src/js/06-copy-to-clipboard.js [new file with mode: 0644]
src/partials/footer-scripts.hbs