Socket
Book a DemoInstallSign in
Socket

section-marked

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

section-marked

A markdown parser with optional section blocks

latest
Source
npmnpm
Version
0.3.8
Version published
Maintainers
1
Created
Source

section-marked

a fork of npm's marked package, that puts content with a <h{1...6}/> tag in a <section />

Install

npm install section-marked --save

Usage

Example setting sections for h2 header:

var marked = require('marked');
marked.setOptions({
  section_depth: 2
});

Keywords

markdown

FAQs

Package last updated on 12 Nov 2016

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