This is a tool to evaluate code from Markdown files.
Why? Because I like writing Markdown files with code snippets (it's good with Obsidian too).
The following examples will use example/test.md
:
```bash ❯ eval-md zsh example/test.md -- --random-flag nice in zsh Arguments: --random-flag
❯ eval-md bash example/test.md nice in bash Arguments:
❯ eval-md python example/test.md -- --hype-level=awesomeness awesome Arguments: ['-', '--hype-level=awesomeness']
❯ eval-md ruby example/test.md -- --debug it works :) Arguments: ["--debug"]
❯ eval-md --debug python example/test.md -- --hype-level=awesomeness -- Target Language: python -- Source file: example/test.md -- Arguments: ["--hype-level=awesomeness"] awesome Arguments: ['-', '--hype-level=awesomeness'] ```