In my markdown, I'd like to specify the something like
Which would skip the comment for bash and start including code from line 2 until the end, no matter how many lines that may be. This would greatly reduce the maintenance while the script is still being developed. So if I was to change the bash script to be as follows, I don't have to update the markdown document to specify the endLine. The output is still correct.
Currently I'm required to specify endLine which means I have to remember to update the document whenever I update the file. This often introduces errors as well as taking my focus away from writing content.
Consider the following bash script
src/golang/hello/build.sh
:In my markdown, I'd like to specify the something like
Which would skip the comment for bash and start including code from line 2 until the end, no matter how many lines that may be. This would greatly reduce the maintenance while the script is still being developed. So if I was to change the bash script to be as follows, I don't have to update the markdown document to specify the
endLine
. The output is still correct.Currently I'm required to specify
endLine
which means I have to remember to update the document whenever I update the file. This often introduces errors as well as taking my focus away from writing content.