You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* update for next version of reshape/spike
* remove extra options
* 0.6.0-0
* add parserOptions, redo tests to be more thorough and reasonable
* 0.6.0-1
* update reshape-exp
* 0.6.0-2
* add append and prepend plugins options, more docs
* internal docs and naming
* 0.6.0-3
* update deps
Copy file name to clipboardExpand all lines: README.md
+3-2Lines changed: 3 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -81,8 +81,6 @@ Any of these plugins can be customized by passing options described below.
81
81
| ---- | ----------- | ------- |
82
82
|**root**| Root path used to resolve layouts and includes ||
83
83
|**filename**| Name of the file being compiled, used for error traces and as the include/layout root if not otherwise provided ||
84
-
|**addDependencyTo**| Object with `addDependency` method that will get file paths for tracked deps from includes/layouts ||
85
-
|**webpack**| Shortcut for webpack users to set the `root` and `addDependencyTo` options more easily. Pass webpack loader context. ||
86
84
|**delimiters**| Delimiters used for html-escaped expressions |`['{{', '}}']`|
87
85
|**unescapeDelimiters**| Delimiters used for unescaped expressions |`['{{{', '}}}']`|
88
86
|**markdown**| Options passed in to [markdown-it](https://github.com/markdown-it/markdown-it) constructor |`{ typographer: true, linkify: true }`|
@@ -91,7 +89,10 @@ Any of these plugins can be customized by passing options described below.
91
89
|**retext**| Plugins to be passed to the [reshape-retext](https://github.com/reshape/retext) plugin |`[smartypants]` ([ref](https://github.com/wooorm/retext-smartypants)) |
92
90
|**locals**| Added directly to the output object, used when compiling a reshape template to html |`{}`|
93
91
|**alias**| Alias option to be passed to the [include plugin](https://github.com/reshape/include#options)||
92
+
|**parserRules**| Parser rules to be passed to the [include plugin](https://github.com/reshape/include#options)||
94
93
|**minify**| Minifies the html output by removing excess spaces and line breaks |`false`|
94
+
|**appendPlugins**| Adds a single plugin or array of plugins after all the defaults ||
95
+
|**prependPlugins**| Adds a single plugin or array of plugins before all the defaults ||
0 commit comments