Files
flipper/src
John Knox 352d9c82cb Add Markdown component to render markdown
Summary:
Adds a Markdown component to the component library.

The react-markdown library doesn't work out of the box because elements it outputs don't have any styles, e.g. h1, h2, p, em, etc.

So I've added a custom renderer to give styles to each of these that workplace markdown uses.
The only one I haven't done at the moment that I'm aware of is numbered-lists.

There's probably a way to get back the original styling of these elements so we don't need a custom renderer, but this works for now, and also allows us to customise their appearance.

Reviewed By: passy

Differential Revision: D18533085

fbshipit-source-id: a4332a11d34d577a6300074e4dde126362d46a6b
2019-11-19 05:52:51 -08:00
..
2019-11-18 02:21:14 -08:00
2019-11-18 02:21:14 -08:00
2019-11-15 02:09:32 -08:00
2019-11-19 05:20:20 -08:00
2019-11-18 08:32:44 -08:00
2019-10-22 08:48:16 -07:00
2019-11-05 09:14:46 -08:00
2019-11-04 07:44:08 -08:00
2019-11-18 02:21:14 -08:00
2019-11-18 02:21:14 -08:00