Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

bisheng-plugin-description

0.1.4 • Public • Published

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

Install

npm i bisheng-plugin-description

DownloadsWeekly Downloads

2,472

Version

0.1.4

License

MIT

Last publish

Collaborators

  • avatar