Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 423 Bytes

demo.md

File metadata and controls

24 lines (17 loc) · 423 Bytes

demo.md

simple_echo - Simple echo in shell

echo "{{.arg1}} {{.arg2}}"

Execute with mdx demo.md simple_echo hello world

Output:

$ hello world

shebang1- Example using shebang from a python venv

#!/home/ldm9fe/git/mdx/.venv/bin/python

import sys
print(sys.executable)

Note: No infostring is specified. You can also specify a infostring, the shebang will nontheless be preferrred.