👋
react-readme-printer Provides a function to load a readme file from github repositories and a React component to automatically load and convert markdown to jsx
Installation
npm i react-readme-printer
👀
Demo https://axelmry.com/react-readme-printer (...with code
💻
Usage import React from 'react'
import { MarkdownPrinter } from 'react-readme-printer'
const Example = () => {
return (
<MarkdownPrinter
username='axelmy318'
repository='react-readme-printer'
branch='master'
file='custom_readme_name'
/>
)
}
export default Example
Dependencies
This project relies on react-markdown to convert the markdown files to JSX