We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b8712b5 commit 00049e3Copy full SHA for 00049e3
Sources/SwiftDocC/Model/Rendering/RenderContentCompiler.swift
@@ -74,7 +74,7 @@ struct RenderContentCompiler: MarkupVisitor {
74
syntax: options.lang ?? bundle.info.defaultCodeListingLanguage,
75
code: codeBlock.code.splitByNewlines,
76
metadata: nil,
77
- copyToClipboard: options.tokens.contains(.nocopy)
+ copyToClipboard: !options.tokens.contains(.nocopy)
78
)
79
80
return [RenderBlockContent.codeListing(listing)]
0 commit comments