4.0.0 • Published 8 months ago

@lg-chat/lg-markdown v4.0.0

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
8 months ago

Lg Markdown

Installation

Yarn

yarn add @lg-chat/lg-markdown

NPM

npm install @lg-chat/lg-markdown

Example

Output HTML

Properties

PropTypeDescriptionDefault
childrenstringContent rendered by the component
componentsobjectOverride what React component will render the associated markdown tag, (e.g. {a: Anchor})
darkModebooleanDetermines if the component should be rendered in dark modefalse
...ReactMarkdownPropsOther props from react-markdownfalse
3.0.12

9 months ago

3.0.4

11 months ago

3.0.13

9 months ago

3.0.3

11 months ago

3.0.10

10 months ago

3.0.2

12 months ago

3.0.11

10 months ago

3.0.1

12 months ago

3.0.16

8 months ago

3.0.8

10 months ago

3.0.17

8 months ago

3.0.7

10 months ago

3.0.14

9 months ago

3.0.6

11 months ago

3.0.15

9 months ago

3.0.5

11 months ago

3.0.0

1 year ago

4.0.0

8 months ago

3.0.9

10 months ago

2.0.2

2 years ago

2.0.1

2 years ago

2.0.0

2 years ago