I want to mix nicely formatted text and code, with the ability to hide the code and variable scoping
Something like
Some blah blah
{ First part of code snippet with scope 1
More blah blah
Second part of code snippet with scope 1}
Yet more blah blah
{ Second code snippet with scope 2 }
In Mathematica I would use the "Module" keyword, but there does not seem to be an equivalent in Maple, and I am not sufficiently familiar with Maple to know its phraseology for what I want do.
Thanks