-
Phil Hughes authored
Creates a custom element, `copy-code` that gets added to every code block in markdown. This element is a button that has the correct data attributes to copy the code it is linked to. Adds a `MutationObserver` to add this copy button to older cached markdown comments. Closes https://gitlab.com/gitlab-org/gitlab/-/issues/21172
20a423dd