Skip to content

Instantly share code, notes, and snippets.

@nitsanavni
Last active December 1, 2022 19:13
Show Gist options
  • Save nitsanavni/6dfda6fd6189dd95cd0a0c2d52ef964d to your computer and use it in GitHub Desktop.
Save nitsanavni/6dfda6fd6189dd95cd0a0c2d52ef964d to your computer and use it in GitHub Desktop.
run code from README.md
alias runmd="<README.md marked -t | jaq -r '.[]|select(.type==\"code\")|.text' | fzf | rush {}"
@nitsanavni
Copy link
Author

nitsanavni commented Dec 1, 2022

inspiration: runme
tools used: marked, jaq, fzf, rush

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment