New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@kun.js/react-md

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kun.js/react-md

react markdown parse and Component

latest
Source
npmnpm
Version
0.0.1-alpha.1
Version published
Maintainers
1
Created
Source

@kun.js/react-md

A react markdown component, support customize all component!

install

npm i -S @kun.js/react-md
// or
yarn add @kun.js/react-md

usage

import { Markdown } from "@kun.js/react-md";

export () => <Markdown
  content={`# hello`}
/>

props

paramdesctypedefault
contentmd contentstring
disableCatalogsdisable Catalogsbooleanfalse
h# ComponentsReact.ComponentType[] ex: ['h1', ..., 'h6']
codeCode ComponentReact.ComponentType props: {value, lang}
inlineCodeInlineCode ComponentReact.ComponentType props: {value}
strongStrong ComponentReact.ComponentType
emphasisEmphasis ComponentReact.ComponentType
blockquote> Blockquote ComponentReact.ComponentType
deleteDelete ComponentReact.ComponentType
image![Image]() ComponentReact.ComponentType props: {url: string; alt: string}
linkLink ComponentReact.ComponentType
listsLists Components{ order: React.ComponentType, unorder: React.ComponentType}
listItem- ListItem ComponentReact.ComponentType
tableTable ComponentReact.ComponentType props: {align: (null| left| center | right)[]}
tableRowTableRow ComponentReact.ComponentType
tableCellsTableCells Components{ th: React.ComponentType, td: React.ComponentType} props: {align}
paragraphParagraph ComponentReact.ComponentType
html<Html> Wrap ComponentReact.ComponentType

FAQs

Package last updated on 04 Sep 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts