From 0475e7f5dbbd92c88be84e095c94ff8b844bf9e5 Mon Sep 17 00:00:00 2001 From: Hasan al Rasyid Date: Thu, 17 Mar 2022 23:20:37 +0900 Subject: [PATCH] markdown (text) type script from python example --- manuscript.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/manuscript.md b/manuscript.md index 8023668..54f9567 100644 --- a/manuscript.md +++ b/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}