Skip to content

resolves #70 clipboardjs in source-blocks

include a clipboardjs button in each source blocks (listingblock)

  • include the javascript link to clipboard.js
  • include 05-clipboard.js to perform the logic of attachment
  • include a new css file with the embedded icon
  • perform the logic only if page-copy-to-clipboard is present or env.ASCIIDOC_COPY_TO_CLIPBOARD is true
Edited by Dan Allen

Merge request reports