display a cut piece of code as markdown depending on the existence of newlines in the original piece
trim the expression from start and end accolades if it is a multiline expression + in some case it is necessary to add a dummy expression so that the range position of the captured snippet is correct.
trim the expression from start and end accolades if it is a multiline expression + in some case it is necessary to add a dummy expression so that the range position of the captured snippet is correct. /**/;1/**/ is the smallest such expression
RangePos snippets are built by using all the string at the macro application point (it used to be only the "inside" code but that got broken in 2.11.0-M8)
RangePos snippets are built by using all the string at the macro application point (it used to be only the "inside" code but that got broken in 2.11.0-M8)
3 things need to be trimmed: