Off-Topic > Off-Topic - Tiny Tux's Corner

more shell,...

<< < (2/2)

mocore:
a possible alternative to

--- Quote from: mocore on August 20, 2019, 09:59:06 AM --- shell script in markdown  :o ..
with mdsh 

--- End quote ---

"Shell scripting with Markdown documents" https://gist.github.com/bwoods/1c25cb7723a06a076c2152a2781d4d49
aka

 shell script in markdown  ...with
     
--- Code: ---alias ~~~=":<<'~~~sh'";:<<'~~~sh'
--- End code ---


markdown-shell-scripting.md from https://gist.githubusercontent.com/bwoods/1c25cb7723a06a076c2152a2781d4d49/raw/263d7c4bd3b344bd70595e57dde01e5a429f2817/Markdown%2520Shell%2520Scripting.md
which contains


--- Code: ---~~~sh
vim -M "$0"
~~~
&&
~~~sh
echo That’s it! Thanks…
~~~

--- End code ---

eg

--- Code: ---$ busybox ash ./markdown-shell-scripting.md
 # <in vim> :q
That’s it! Thanks…


--- End code ---

mark down or presumably any other plain text ...

https://www.smashingmagazine.com/2022/02/thoughts-on-markdown/

Navigation

[0] Message Index

[*] Previous page

Go to full version