Skip to content

Commit d6a732e

Browse files
committed
adjusted example
1 parent 1a755a3 commit d6a732e

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

index.html

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -129,24 +129,18 @@ <h2>Usage</h2>
129129
<pre><code class="language-js">var turndownService = new TurndownService()
130130
TurndownPluginGfmService.gfm(turndownService)
131131
console.log(
132-
turndownService.turndown('&amp;lt;h1&amp;gt;Hello world&amp;lt;/h1&amp;gt;')
132+
turndownService.turndown('&amp;lt;strike&amp;gt;Hello world&amp;lt;/strike&amp;gt;')
133133
)</code></pre>
134134

135135
<hr />
136136

137137
<p>It aims to be <a href="http://commonmark.org/">CommonMark</a>
138-
compliant, and includes options to style the output. These options include:</p>
138+
compliant, and includes additional options to style the output. These options include:</p>
139139

140140
<ul>
141-
<li>headingStyle (setext or atx)</li>
142-
<li>horizontalRule (*, -, or _)</li>
143-
<li>bullet (*, -, or +)</li>
144-
<li>codeBlockStyle (indented or fenced)</li>
145-
<li>fence (` or ~)</li>
146-
<li>emDelimiter (_ or *)</li>
147-
<li>strongDelimiter (** or __)</li>
148-
<li>linkStyle (inlined or referenced)</li>
149-
<li>linkReferenceStyle (full, collapsed, or shortcut)</li>
141+
<li>strikethrough (~)</li>
142+
<li>tables (|, |---|)</li>
143+
<li>taskListItems ([ ] or [x])</li>
150144
</ul></textarea>
151145
</div>
152146
<div class="col">

0 commit comments

Comments
 (0)