- Create a bash flavored code block
/```bash ls /home /```
Preview the file
Click Copy on the code block
Paste into a bash terminal
Copied command pastes into the terminal but isn’t executed because a carriage return was not copied with it
Command executes without having to hit return making it difficult to verify or modify the pasted command before executing it.
- Operating system: Windows 10 and Ubuntu 20.04
- Obsidian version: 0.12.19
I’m writing documentation for my linux server and the copy button is very handy except the presence of the carriage return means that any command I need to modify before executing has to be manually copied instead of using the copy button.