$ in code block gets interpreted as prompt end
When a line in a code block contains a $
, it gets interpreted as the end of the prompt.
An example for this issue in the compendium is in the page software/containers/
Example:
marie@local$ cd ${GOPATH}/src/github.com/sylabs
In this example the prompt is marie@local$ cd $
. Since you can not select the prompt, you can not copy the code line correctly.
A fix would be to make the plugin understand that the prompt ends on the first $
and not the last.