react-prose
React component for styling documents and blocks of HTML content
npm install react-prose
import React from 'react'import Markdown from 'react-markdown'import Prose from '../src/styled-components'import readme from 'raw-loader!./README.md' const App = <Prose> <Markdown = /> </Prose>
Features
- Style blocks of HTML content
- Scoped with css-in-js
- Support for styled-components, glamorous, and cxs
- Built in themes
- Customizable via props
- Full typographic control
Props
theme
key for built-in theme
MIT License