Say I copy the following codeblock from a
.md handbook which incldes some information and a few codeblocks (hence it's not a script file):
⇨⇨⇨⇨( ⇨⇨⇨⇨Indented commands... ⇨⇨⇨⇨)
preexec function could be used to remove all leading whitespaces (usually tabulations but maybe also spaces) from this original codeblock, and return a unindented version of it:
( commands... )
As far as I understand, the preexec action should include
Please share how you would achieve this goal with preexec.