Part of the Spark programming guide pages are using the include_example Jekyll plugin to extract line blocks surrounded by example on and example off tag pairs (usually written as comments) from source files under the examples sub-project.
One limitation of the include_example plugin is that all line blocks within a single file must be included in a single example snippet block in the final HTML file. It would be nice to add labelling support to this plugin, so that we mark different line blocks with different labels in the source file:
and then, by referring different labels in the Liquid template, like this:
we may generate multiple example snippet blocks in the final HTML page from a single source file.