diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-21 22:59:50 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2022-03-21 22:59:50 +0300 |
commit | 004208d9b41b9dfa9b107e753cfd9303dbe00812 (patch) | |
tree | 87619072790bd63125e799d9d3b6805a9a3a9d4d /_posts | |
parent | add an include for shell commands & output (diff) | |
download | jekyll-theme-004208d9b41b9dfa9b107e753cfd9303dbe00812.tar.gz jekyll-theme-004208d9b41b9dfa9b107e753cfd9303dbe00812.zip |
shell: output is optional
Diffstat (limited to '_posts')
-rw-r--r-- | _posts/2022-03-21-shell.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/_posts/2022-03-21-shell.md b/_posts/2022-03-21-shell.md index 1f8f56a..02b977d 100644 --- a/_posts/2022-03-21-shell.md +++ b/_posts/2022-03-21-shell.md @@ -50,3 +50,8 @@ AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA {% include shell.html cmd=cmd1 out=out1 %} This is ugly though, so please don't do that. + +Commands don't necessarily have to have output: + +{% include shell.html cmd='mkdir test' %} +{% include shell.html cmd='cd test' %} |