Skip to content

Commit 9ab0524

Browse files
committed
add info about md-jsx custom renderer configuration
1 parent 3f05350 commit 9ab0524

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Readme.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@ cd sourcejs-project
1818
npm install sourcejs-react-styleguidist --save
1919
```
2020

21+
Add custom markdown renderer conf into SourceJS `options.js` file:
22+
23+
```javascript
24+
module.exports = {
25+
core: {
26+
processMd: {
27+
languageRenderers: {
28+
jsx: require('sourcejs-react-styleguidist/core/lang-jsx').processExample
29+
}
30+
}
31+
}
32+
};
33+
```
34+
2135
After re-running your SourceJS app, plugin will be loaded automatically.
2236

2337
### Important configs

0 commit comments

Comments
 (0)