[examples] Allow to exclude/fold code in the example README.md
For long files and class with a lot of boilerplate code it might be good to be able to exclude stuff from the automatically generated doc. This is probably possible by defining a keyword like
//[begin exclude]
...
//[end exclude]
Another idea would be (as an alternative or additionally to the suggestion above) to allow collapsible code snippet as demonstrated here:
Click to expand code snippet
class Class {
using Boilerplate = Code;
using Boilerplate = Code;
using Boilerplate = Code;
using Boilerplate = Code;
using Boilerplate = Code;
};
This could be also achieved with a keyword like
//[begin fold]
...
//[end fold]
Related MRs: !1682 (merged)