From 9c6c62fcd36210c1233187c8ff9a5fa15f7f146d Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 20 Mar 2019 11:23:47 -0700 Subject: Rephrase example #111 to indicate that the rendering is not mandated. Closes #568. --- spec.txt | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index dc944d0..0760a6e 100644 --- a/spec.txt +++ b/spec.txt @@ -1922,9 +1922,11 @@ bar 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. +Although this spec doesn't mandate any particular treatment of +the info string, the first word is typically used to specify +the language of the code block. In HTML output, the language is +normally indicated by adding a class to the `code` element consisting +of `language-` followed by the language name. ```````````````````````````````` example ```ruby -- cgit v1.2.3