6 ms·
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 ea
by DrPhish 2y 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...
```
- mbonnet 2y agoMind sharing the script?
- jzombie 2y agoI have something similar. https://github.com/jzombie/globcat.sh https://github.com/jzombie/globcat.sh Nothing fancy, but gets the job done.
- genewitch 2y agoSeconded because just having something autowrapped like that and putting the clipboard would save me time: release the snyder cut, er, bash script!