markdown (text) type script from python example

master
Hasan al Rasyid 3 years ago
parent db03cc9029
commit 0475e7f5db
  1. 26
      manuscript.md

@ -456,6 +456,32 @@ let x = circle 10
~~~
-->
## Running a subcommand
Currently, subcommand only valid for Python script.
```
~~~{.script .py .md}
#!/usr/bin/env python3
echo "this is the real me"
~~~
```
The above snipplet would give us output:
~~~{.script .py .md}
#!/usr/bin/env python3
print("""
| as | dd |
|----|----|
| dd | dd |
Table: we are
""")
~~~
## Subprocess delegation
~~~{.delegate .multimarkdown #tbl:delegate}

Loading…
Cancel
Save