Source code link
#!/bin/something ## If relevant
##### My (demuredemeanor) attempt to codify my formatting
# Uses shiftwidth=4 for tabs; foldmarker={{{,}}} for folds;
# https://gitorious.org/demure/dotfiles/
# legacy repo http://github.com/demure/dotfiles
End
Can truncate block name
Contents
Use Cases:
If 'short' description can not fit on same line
some code
Tab comments evenly inside of code block
Preferably matching highest block relevant
some code ## Some comment some more code ## Another comment
Comment symbol directly preceding code, to toggle it out
#echo "some text" ## Toggled off
other code ## Still active
Long sections can have comment symbol at beginning of line
# if
# blah
# else
# blah blah
# fi
Temporary comments may use three, or more, comment symbols
May also be use to distinguish between example conf comments
###some code ## disabled for troubleshooting other code #another line ## disabled
Neighboring Blocks will be on the same indent level
### Some Block ### {{{
content
### End Some ### }}}
### Another Block ### {{{
other content
### End Another ### }}}
Half indent 'else's... because I like it.
if
first
else
second
fi
Neighboring Blocks will be separated by a blank line
Nested blocks will not be
### Child Block ### {{{
content
### End Child ### }}}
### Other Nested ### {{{
other content
### End Nested ### }}}
Comment lines used to identify a Section will have blank line prior
Comment lines used for details/description need not
if other_test
echo "for demonstrating below"
fi
if something
blah
fi
'Short' descriptions need not have blank line
some other code
## desc of following code
echo "the really long code is located here"
######Last edit 30DEC2016