VS Code
Install Visual Studio Code for editing code, documentation, and lab automation files.
ansible-playbook -i inventory -K playbooks/lab-stack.yml --tags vscodeQuarto screenshots
The role installs the Quarto and Markdown Paste extensions and xclip for Linux clipboard access. In a local .qmd file, Ctrl+Alt+V opens a filename confirmation box. Edit the proposed filename if needed, then confirm to save the image under images/ beside the document and insert a relative Markdown image reference. No automatic filename suffix is configured.
✅ Check
- Open a
.qmdfile in VS Code. - Copy a screenshot to the clipboard.
- Press
Ctrl+Alt+V. - Enter or edit the desired filename, then confirm the paste.
- Confirm that an image appears under
images/. - Confirm that a relative Markdown image reference was inserted.