Exciting news!Announcing our $4.6M Series Seed. Learn more
Socket
LoveBlogFAQ
Install
Log in

remarked

Package Overview
Dependencies
2
Maintainers
1
Versions
5
Issues
File Explorer

Advanced tools

remarked

Markdown parser and lexer. A fork of marked.js maintained for Assemble.

    0.1.4latest

Version published
Maintainers
1
Yearly downloads
9,827
increased by232.11%

Weekly downloads

Readme

Source

remarked NPM version

Markdown parser and lexer. A fork of marked.js maintained for Assemble.

Install

npm

npm i remarked --save

Why?

Usage

Minimal usage:

var markdown = require('remarked'); console.log(markdown('I am using **remarked**.')); //=> <p>I am using <strong>remarked</strong>.</p>

API

.setOptions

Define remarked options with:

remarked.setOptions({}) ```js var remarked = require('remarked'); remarked.setOptions({ renderer: new remarked.Renderer(), gfm: true, tables: true, breaks: false, pedantic: false, sanitize: true, smartLists: true, smartypants: false }); console.log(remarked('I am using **remarked**.'));

Why?

Assemble used marked.js extensively, but - for a couple of reasons - we've decided to maintain a fork so that our users can have a more reliable experience going forward.

  1. There are bugs, like escaping quotes automatically that prevent us from making marked.js a built-in parser.
  2. Given the massive amount of time and effort that we've put into fixing marked-related issues on the Assemble project and related projects
  3. Breaking changes are introduced to marked.js without bumping the minor version
  4. It does too much or too little with certain features. Like automatically adding ids to headings

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.

Based on marked https://github.com/chjj/marked Copyright (c) 2011-2014, Christopher Jeffrey, contributors. Released under the MIT License (MIT)


This file was generated by verb-cli on July 04, 2014.

Keywords

FAQs

What is remarked?

Markdown parser and lexer. A fork of marked.js maintained for Assemble.

Is remarked popular?

The npm package remarked receives a total of 183 weekly downloads. As such, remarked popularity was classified as not popular.

Is remarked well maintained?

We found that remarked demonstrated a not healthy version release cadence and project activity. It has 1 open source maintainer collaborating on the project.

Last updated on 04 Jul 2014
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc