Skip to content

Commit e787d16

Browse files
author
Kreozot
committed
Documentation for parsingFunction option.
1 parent d0b5466 commit e787d16

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.mdown

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,16 @@ Also you can use Handlebars template in your markdown files:
212212
Current version: {{ ctx.version }}
213213
```
214214

215+
#### Parser override
216+
217+
If you want to use another markdown parser you can override the parsing function:
218+
219+
```javascript
220+
parsingFunction: function(markdownText): {
221+
return myParser.markdownToHtml(markdownText);
222+
}
223+
```
224+
215225
## Examples
216226

217227
For a live example check: [MOUT documentation](http://moutjs.com/docs/latest/)

0 commit comments

Comments
 (0)