tzador / makedown

Organise your shell scripts within executable markdown files
MIT License
248 stars 9 forks source link

Allow use of makedown as hashbang in markdown files #18

Open tzador opened 6 days ago

tzador commented 6 days ago

If one has a file my-scripts (with executable flag on) like this:

#!/usr/bin/env makedown

# [random] Prints a random number

```python
print(4)
```

It should be executable on the terminal like this:

./my-scripts random