Skip to content

Commit 74d46d8

Browse files
committed
Update spec.txt.
1 parent 42cd523 commit 74d46d8

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

test/spec.txt

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1584,8 +1584,8 @@ begins with a code fence, indented no more than three spaces.
15841584

15851585
The line with the opening code fence may optionally contain some text
15861586
following the code fence; this is trimmed of leading and trailing
1587-
whitespace and called the [info string](@).
1588-
The [info string] may not contain any backtick
1587+
whitespace and called the [info string](@). If the [info string] comes
1588+
after a backtick fence, it may not contain any backtick
15891589
characters. (The reason for this restriction is that otherwise
15901590
some inline code would be incorrectly interpreted as the
15911591
beginning of a fenced code block.)
@@ -1973,6 +1973,18 @@ foo</p>
19731973
````````````````````````````````
19741974

19751975

1976+
[Info strings] for tilde code blocks can contain backticks and tildes:
1977+
1978+
```````````````````````````````` example
1979+
~~~ aa ``` ~~~
1980+
foo
1981+
~~~
1982+
.
1983+
<pre><code class="language-aa">foo
1984+
</code></pre>
1985+
````````````````````````````````
1986+
1987+
19761988
Closing code fences cannot have [info strings]:
19771989

19781990
```````````````````````````````` example

0 commit comments

Comments
 (0)