diz-plugin-ref

0.0.3 • Public • Published

diz-plugin-ref

A Diz plugin that rewrite to url of ref

Build Status XO code style Dependencies Status

Install

$ yarn add -D diz-plugin-ref
$ npm i -D diz-plugin-ref

Usage

Add to plugins of config.js.

  ...,
  plugins: [
    new Ref()
  ],
  ...

Add ref key to frontmatter. For example (example.md)

---
title: example
ref: <url|other blog name>
---

For the ref key, write a direct URL or a sibling directory name (with config.js).

License

The MIT License (MIT)

Copyright (c) 2016 nju33 nju33.ki@gmail.com

Readme

Keywords

Package Sidebar

Install

npm i diz-plugin-ref

Weekly Downloads

0

Version

0.0.3

License

MIT

Last publish

Collaborators

  • nju33