bisheng-plugin-description
To extract description from Markdown.
Last updated 9 years ago by benjycui .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install bisheng-plugin-description 
SYNC missed versions from official npm registry.

bisheng-plugin-description

npm package NPM downloads Dependency Status

To extract description from Markdown.

Usage

Install:

npm i --save bisheng-plugin-description

Add 'bisheng-plugin-description' to bisehng.config.js's plugins.

module.exports = {
  plugins: ['bisheng-plugin-description'],
};

In Markdown:

---
title: ...
...
---

This is description.

---

This is main content.

In template:

<div>
  { utils.toReactComponent(pageData.description) }
</div>

Liscense

MIT

Current Tags

  • 0.1.4                                ...           latest (9 years ago)

6 Versions

  • 0.1.4                                ...           9 years ago
  • 0.1.3                                ...           9 years ago
  • 0.1.2                                ...           10 years ago
  • 0.1.1                                ...           11 years ago
  • 0.1.0                                ...           11 years ago
  • 0.1.0-beta.0                                ...           11 years ago
Maintainers (1)
Downloads
Total 42
Today 0
This Week 0
This Month 23
Last Day 0
Last Week 6
Last Month 12
Dependencies (1)
Dev Dependencies (0)
None
Dependents (0)
None

© 2010 - cnpmjs.org x YWFE | Home | YWFE