rea
reactdown
npm i reactdown
rea

reactdown

Markdown based live document format

by Andrey Popp

0.8.0 (see all)License:MITTypeScript:Not Found
npm i reactdown
Readme

reactdown

Write React components using markdown syntax:

---
title: Awesome blog post
some: metadata
...

# Hello, this is just a markdown

But it's actually a React component.

You can instantiate other components directly:

<TwitterFeed username="@andreypopp" />

^^ this is my twitter feed!

This will be compiled by reactdown into a CommonJS module which exports a React component.

Installation

% npm install reactdown

Usage

From command line:

% reactdown ./page.md > page.js

From Node:

var reactdown = require('reactdown');

reactdown('...');

As a browserify transform:

% browserify -t reactdown/transform ...

Downloads/wk

16

GitHub Stars

114

LAST COMMIT

6yrs ago

MAINTAINERS

1

CONTRIBUTORS

2

OPEN ISSUES

10

OPEN PRs

1
VersionTagPublished
0.8.0
latest
9yrs ago
1.0.0-alpha14
alpha
6yrs ago
No alternatives found
No tutorials found
Add a tutorial
No dependencies found

Rate & Review

100
No reviews found
Be the first to rate