commit b120b1c3d884523f553c7bb5ad2b4d8d597b6ba1
parent 1cf10c4cd6fd374ef211e9f1440287183e5972d3
Author: Andrey Mikhaylov (lolmaus) <lolmaus@gmail.com>
Date: Thu, 26 May 2016 20:10:54 +0300
Fixed indentation in auto-render readme (#481)
Diffstat:
1 file changed, 21 insertions(+), 20 deletions(-)
diff --git a/contrib/auto-render/README.md b/contrib/auto-render/README.md
@@ -41,23 +41,24 @@ nodes inside this element and render the math in them.
`options` is an optional object argument with the following keys:
- - `delimiters`: This is a list of delimiters to look for math. Each delimiter
- has three properties:
-
- - `left`: A string which starts the math expression (i.e. the left delimiter).
- - `right`: A string which ends the math expression (i.e. the right delimiter).
- - `display`: A boolean of whether the math in the expression should be
- rendered in display mode or not.
-
- The default value is:
-```js
-[
- {left: "$$", right: "$$", display: true},
- {left: "\\[", right: "\\]", display: true},
- {left: "\\(", right: "\\)", display: false}
-]
-```
-
- - `ignoredTags`: This is a list of DOM node types to ignore when recursing
- through. The default value is
- `["script", "noscript", "style", "textarea", "pre", "code"]`.
+- `delimiters`: This is a list of delimiters to look for math. Each delimiter
+ has three properties:
+
+ - `left`: A string which starts the math expression (i.e. the left delimiter).
+ - `right`: A string which ends the math expression (i.e. the right delimiter).
+ - `display`: A boolean of whether the math in the expression should be
+ rendered in display mode or not.
+
+ The default value is:
+
+ ```js
+ [
+ {left: "$$", right: "$$", display: true},
+ {left: "\\[", right: "\\]", display: true},
+ {left: "\\(", right: "\\)", display: false}
+ ]
+ ```
+
+- `ignoredTags`: This is a list of DOM node types to ignore when recursing
+ through. The default value is
+ `["script", "noscript", "style", "textarea", "pre", "code"]`.