1.3.1 • Published 9 months ago

react-github-readme-md v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

react-github-readme-md

npm version Maintainability Try movie-art on RunKit

Render the README.md file of a GitHub Repository in React

Try switching your system between light and dark mode or add a .dark class to a parent element to see the dark theme.

Features

  • Supports both light and dark modes
  • Works in both the client and server

Install

Using NPM:

$ npm install react-github-readme-md

Usage

import { GitHubReadme } from "react-github-readme-md";

// ...

<GitHubReadme username="lacymorrow" repo="react-github-readme-md" />

API

props.username

The GitHub username.

Required
Type: string

props.repo

The specified GitHub repository where the README.md is located.

Required
Type: string

Credit

Thanks to Sindresorhus for his generate-github-markdown-css repo, used to generate the styles!

License

MIT © Lacy Morrow

1.3.1

9 months ago

1.3.0

9 months ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.1.5

2 years ago

1.0.6

2 years ago

1.1.4

2 years ago

1.0.5

2 years ago

1.2.2

2 years ago

1.1.3

2 years ago

1.0.4

2 years ago

1.2.1

2 years ago

1.1.2

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago