bisheng-plugin-description
To extract description from Markdown.
Last updated 9 years ago by benjycui .
MIT · Repository · Bugs · Original npm
$ cnpm 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 (8 years ago)

2 Versions

  • 0.1.1                                ...           9 years ago
  • 0.1.4                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (3)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org