Example 111 disagrees with text on info string rendering

Version 0.28 section 4.5 states (emphasis mine)

The first word of the info string is typically used to specify the language of the code sample, and rendered in the class attribute of the code tag. However, this spec does not mandate any particular treatment of the info string.

But example 111 states

An info string can be provided after the opening code fence. Opening and closing spaces will be stripped, and the first word, prefixed with language-, is used as the value for the class attribute of the code element within the enclosing pre element.

The example should mention that the behavior is merely one common behavior. It would be nice if the text mentioned the suggested or typical language- prefix as well. I suggest the following wording:

and rendered in the class attribute of the code tag by prefixing it with language-.

2 Likes