1.0.11 • Published 9 years ago

react-markdown-to-html v1.0.11

Weekly downloads
19
License
ISC
Repository
github
Last release
9 years ago

Markdown to HTML

React Component that converts a Markdown file to HTML

Demo at opensourceprojects.robbestad.com

Installation

% npm install react-markdown-to-html --save

Usage

With JSX

var Markdown2HTML = require('react-markdown-to-html');
MyComponent = React.createClass({
  render: function() {
     return (
       <Markdown2HTML src="README.md" />
    );
  }
});

Without JSX

 var Markdown2HTML = require('react-markdown-to-html');
 MyComponent = React.createClass({displayName: "MyComponent",
   render: function() {
      return (
        React.createElement(Markdown2HTML, {src: "README.md"})
     );
   }
 });
1.0.11

9 years ago

1.0.10

9 years ago

1.0.9

9 years ago

1.0.8

9 years ago

1.0.7

9 years ago

1.0.6

9 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago