Browse Source

Fix typos

pull/656/head
Philipp_Lypniakov 5 years ago
committed by GitHub
parent
commit
5c1e80aa26
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      lib/index.js

4
lib/index.js

@ -377,7 +377,7 @@ MarkdownIt.prototype.set = function (options) {
* MarkdownIt.configure(presets) * MarkdownIt.configure(presets)
* *
* Batch load of all options and compenent settings. This is internal method, * Batch load of all options and compenent settings. This is internal method,
* and you probably will not need it. But if you with - see available presets * and you probably will not need it. But if you will - see available presets
* and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/lib/presets) * and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/lib/presets)
* *
* We strongly recommend to use presets instead of direct config loads. That * We strongly recommend to use presets instead of direct config loads. That
@ -503,7 +503,7 @@ MarkdownIt.prototype.use = function (plugin /*, params, ... */) {
* - src (String): source string * - src (String): source string
* - env (Object): environment sandbox * - env (Object): environment sandbox
* *
* Parse input string and returns list of block tokens (special token type * Parse input string and return list of block tokens (special token type
* "inline" will contain list of inline tokens). You should not call this * "inline" will contain list of inline tokens). You should not call this
* method directly, until you write custom renderer (for example, to produce * method directly, until you write custom renderer (for example, to produce
* AST). * AST).

Loading…
Cancel
Save