A lot of work on the presentation
The shell auto-image now runs code and turns the output into an image that is embedded into the document The prompt is configurable in /bin/prompt The first draft is done up until the references section
This commit is contained in:
parent
63c02e13f9
commit
22ef5f581d
15 changed files with 584 additions and 61 deletions
14
bin/tidy
Executable file
14
bin/tidy
Executable file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
fixAnsiReset(){
|
||||
FIND="$(echo -e "\033[m")"
|
||||
REPLACE="$(echo -e "\033[0m")"
|
||||
#sed -r "s/\x1B\[([0-9]{1,3}(;[0-9]{1,2})?)?[mGK]//g"
|
||||
cat - | sed -r 's/\x1B\[m/\x1B\[0m/g'
|
||||
}
|
||||
|
||||
fixTab(){
|
||||
cat - | sed 's/\t/ /g'
|
||||
}
|
||||
|
||||
cat - | fixAnsiReset | fixTab
|
Loading…
Add table
Add a link
Reference in a new issue