Skip to content

Commit 3ae492a

Browse files
small revision
1 parent f8b7e82 commit 3ae492a

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

slides.html

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,9 @@ <h3>CSS</h3>
246246

247247
<section class="slide">
248248
<h2>Markdown: Option 2</h2>
249-
<p>Add the <code>data-markdown</code> attribute to the <code>&lt;section&gt;</code> tag and wrap the content in a <code>&lt;script type="text/template"&gt;&lt;/script&gt;</code>. With this option, you can mix HTML markup (does not need to be escaped) with Markdown syntax though avoid using a &lt;script&gt; tag within the content wrapping script tag.</p>
249+
<p>Add the <code>data-markdown</code> attribute to the <code>&lt;section&gt;</code> tag and wrap the content in a <code>&lt;script type="text/template"&gt;&lt;/script&gt;</code>. With this option, you can mix HTML markup (does not need to be escaped) with Markdown syntax though avoid using any additional <code>&lt;script&gt;</code> tags within.</p>
250+
251+
<p>Also, using single or double quotes in the content may throw off the syntax highlighting in your editor, though the content will still be rendered properly in the browser. You can use the HTML code instead.</p>
250252
<pre><code>&lt;section class="slide" data-markdown&gt;
251253
&lt;script type="text/template"&gt;
252254
## Heading2
@@ -262,11 +264,6 @@ <h2>Markdown: Option 2</h2>
262264
<pre><code>Footnote text&lt;!-- .element: class="footnote" --&gt;
263265
</code></pre>
264266

265-
<p>Will be converted to:</p>
266-
267-
<pre><code>&lt;p class="footnote"&gt;Footnote text&lt;/p&gt;
268-
</code></pre>
269-
270267
<p>Be sure to place the snippet before any nested elements.</p>
271268

272269
<pre><code>Footnote text and &lt;!-- .element: class="footnote" --&gt; [link](http://website.com)

0 commit comments

Comments
 (0)