Skip to content

Commit ca31ac7

Browse files
committed
Merge pull request PrismJS#162 from didoarellano/api-docs-fix
Change references to non-existent grammar in API docs
2 parents a520ac1 + 2ca412e commit ca31ac7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

extending.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ <h2>Parameters</h2>
151151
<dt>text</dt>
152152
<dd>A string with the code to be highlighted.</dd>
153153
<dt>grammar</dt>
154-
<dd>An object containing the tokens to use. Usually a language definition like <code>Prism.languages.html</code></dd>
154+
<dd>An object containing the tokens to use. Usually a language definition like <code>Prism.languages.markup</code></dd>
155155
</dl>
156156

157157
<h2>Returns</h2>
@@ -168,7 +168,7 @@ <h2>Parameters</h2>
168168
<dt>text</dt>
169169
<dd>A string with the code to be highlighted.</dd>
170170
<dt>grammar</dt>
171-
<dd>An object containing the tokens to use. Usually a language definition like <code>Prism.languages.html</code></dd>
171+
<dd>An object containing the tokens to use. Usually a language definition like <code>Prism.languages.markup</code></dd>
172172
</dl>
173173

174174
<h2>Returns</h2>

0 commit comments

Comments
 (0)