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

remark-container

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

remark-container

markdown container like [markdown-it-container](https://github.com/markdown-it/markdown-it-container)

latest
Source
npmnpm
Version
0.1.2
Version published
Weekly downloads
107
84.48%
Maintainers
1
Weekly downloads
 
Created
Source

Remark Container

markdown container like markdown-it-container

CircleCI codecov

Example

::: tip
content
:::
::: tip title
content

muliti line
:::

Usage

npm install remark-container or yarn remark-container

const remark = require('remark')
const html = require('remark-html')
remark()
    .use(plugin, opt)
    .use(html).process(`
::: tip title
hello
:::
`)

output

<div class="remark-container tip">
  <p class="remark-container-title">TITLE</p>
  <p>hello</p>
</div>

Options

  • className: class for div container, default remark-container

Keywords

remark

FAQs

Package last updated on 23 Jun 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