Description
It would be nice to be able to provide hints for syntax highlighting a given code block.
For example, executables often have a SYNOPSIS section that doesn't have Perl code in it like a library does, but instead has example command line invocations or a specification of the options and arguments the script accepts. That shouldn't be highlighted as though it were Perl code - it probably shouldn't by highlighted at all.
Similarly, some modules have ASCII art in code blocks to illustrate a data structure, for example. That shouldn't be highlighted either.
And some modules might (heaven forbid) include code blocks in a language other than Perl. It might be nice to provide a hint that "this block is actually Python".
Presumably this would use a =for
but I leave it up to others to decide whether this is something that should be metacpan-specific (which might give us =for metacpan txt
), or something more generally to do with syntax highlighting (which might give us =for syntax_highlighting txt
).