From 22b6d7d5dfa00510dd8df481ef4bed3945cc911c Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Sun, 4 Jan 2015 12:27:12 -0800 Subject: Linkify "info string" in spec. --- spec.txt | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'spec.txt') diff --git a/spec.txt b/spec.txt index 0ac0842..aebbc5b 100644 --- a/spec.txt +++ b/spec.txt @@ -1165,7 +1165,7 @@ begins with a code fence, indented no more than three spaces. The line with the opening code fence may optionally contain some text following the code fence; this is trimmed of leading and trailing spaces and called the [info string](@info-string). -The info string may not contain any backtick +The [info string] may not contain any backtick characters. (The reason for this restriction is that otherwise some inline code would be incorrectly interpreted as the beginning of a fenced code block.) @@ -1193,10 +1193,10 @@ A fenced code block may interrupt a paragraph, and does not require a blank line either before or after. The content of a code fence is treated as literal text, not parsed -as inlines. The first word of the info string is typically used to +as inlines. 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. +particular treatment of the [info string]. Here is a simple example with backticks: @@ -1494,7 +1494,7 @@ end
. -Info strings for backtick code blocks cannot contain backticks: +[Info string]s for backtick code blocks cannot contain backticks: . ``` aa ``` @@ -1504,7 +1504,7 @@ foo foo

. -Closing code fences cannot have info strings: +Closing code fences cannot have [info string]s: . ``` @@ -4117,7 +4117,7 @@ raw HTML: . But they work in all other contexts, including URLs and link titles, -link references, and info strings in [fenced code block]s: +link references, and [info string]s in [fenced code block]s: . [foo](/bar\* "ti\*tle") @@ -4222,7 +4222,7 @@ recognized as entities either: Entities are recognized in any context besides code spans or code blocks, including raw HTML, URLs, [link title]s, and -[fenced code block] info strings: +[fenced code block] [info string]s: . -- cgit v1.2.3