You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p>I wish SmartyPants used named entities like
316
316
<code>&amp;mdash;</code> instead of decimal-encoded
317
317
entites like <code>&amp;#8212;</code>.</p>
@@ -334,11 +334,20 @@ <h2>Markdown mode</h2>
334
334
335
335
<p>If you want your page to validate under XHTML 1.0 Strict,
336
336
you've got to put paragraph tags in your blockquotes:</p>
337
-
337
+
338
338
<pre><code>&lt;blockquote&gt;
339
339
&lt;p&gt;For example.&lt;/p&gt;
340
340
&lt;/blockquote&gt;
341
341
</code></pre>
342
+
343
+
## Fenced code blocks (and syntax highlighting)
344
+
345
+
```javascript
346
+
for (var i = 0; i <items.length;i++){
347
+
console.log(items[i],i); // log them
348
+
}
349
+
```
350
+
342
351
</textarea></form>
343
352
344
353
<script>
@@ -350,10 +359,11 @@ <h2>Markdown mode</h2>
350
359
});
351
360
</script>
352
361
353
-
<p>You might want to use the <ahref="../gfm/index.html">Github-Flavored Markdown mode</a> instead, which adds support for fenced code blocks and a few other things.</p>
362
+
<p>If you also want support <code>strikethrough</code>, <code>emoji</code> and few other goodies, check out <ahref="../gfm/index.html">Github-Flavored Markdown mode</a>.</p>
363
+
364
+
<p>Optionally depends on other modes for properly highlighted code blocks,
365
+
and XML mode for properly highlighted inline XML blocks.</p>
354
366
355
-
<p>Optionally depends on the XML mode for properly highlighted inline XML blocks.</p>
0 commit comments