Context
The PSModule documentation site (psmodule.io) renders code blocks from the README and other documentation pages. Users need to be able to copy code snippets easily to use them in their own scripts.
Request
Code blocks on the documentation site should have a copy button so users can quickly copy the code content to their clipboard.

Acceptance criteria
- Code blocks on the documentation site have a visible copy button
- Clicking the copy button copies the code content to the clipboard
- The feature works across all documentation pages
Technical decisions
Approach: Material for MkDocs (and Zensical) support the code copy feature via the content.code.copy configuration in mkdocs.yml.
Implementation plan
Context
The PSModule documentation site (psmodule.io) renders code blocks from the README and other documentation pages. Users need to be able to copy code snippets easily to use them in their own scripts.
Request
Code blocks on the documentation site should have a copy button so users can quickly copy the code content to their clipboard.
Acceptance criteria
Technical decisions
Approach: Material for MkDocs (and Zensical) support the code copy feature via the
content.code.copyconfiguration inmkdocs.yml.Implementation plan
content.code.copy: truein themkdocs.ymltheme features