Skip to content

Latest commit

 

History

History
30 lines (26 loc) · 346 Bytes

README.md

File metadata and controls

30 lines (26 loc) · 346 Bytes

rdoc theme

Preview React and HTML example.

npm install rdoc-theme-load-react --save

in markdown

<!--DemoStart--> 
\```jsx
class Header extends Component {
  render() {
    return (
      <div>我是组件</div>
    );
  }
}
ReactDOM.render(
  <div>
    <Header />
    123
  </div>
, mountNode);
\```
<!--End-->