You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable code block copy button on documentation site #212
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
Enable content.code.copy: true in the mkdocs.yml theme features
Verify the copy button appears on code blocks in the built documentation
Test across different page types (README, function docs, examples)
changed the title [-]🩹 [Patch]: Make it possible to copy codeblocks from the readme (psmodule.io/<name>[/-][+]Enable code block copy button on documentation site[/+]on Apr 5, 2026
Activity
MariusStorhaug commentedon Oct 13, 2025
need something like:
[-]🩹 [Patch]: Make it possible to copy codeblocks from the readme (psmodule.io/<name>[/-][+]Enable code block copy button on documentation site[/+]MariusStorhaug commentedon Apr 5, 2026
Restructured issue description into the standard three-section format.
PatchlabelEnable MkDocs code copy feature for docs sites (#212)