Comment by DrPhish
8 days ago
That's very nice and compact. I do the same with a short bash script, but wrap each file in triple-backticks and attempt to put the correct language label on each eg:
Filename: demo.py
```python
...python code here...
```
Seconded because just having something autowrapped like that and putting the clipboard would save me time: release the snyder cut, er, bash script!
Mind sharing the script?
I have something similar.
https://github.com/jzombie/globcat.sh
Nothing fancy, but gets the job done.