0.0.3 • Published 7 years ago
diz-plugin-ref v0.0.3
diz-plugin-ref
A Diz plugin that rewrite to url of ref
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