@fundamend/config-rehype-retext
v0.1.0
Published
_config-rehype-retext_ is a configuration preset for [rehype-retext] used by [config-rehype] and the [fundamend.dev] ecosystem.
Downloads
6
Readme
config-rehype-retext
config-rehype-retext is a configuration preset for rehype-retext used by config-rehype and the fundamend.dev ecosystem.
Installation
Use your favorite Node.js package manager, for example npm, like so:
npm install --save-dev @fundamend/config-rehype-retext
... or yarn, like so:
yarn add --dev @fundamend/config-rehype-retext
Usage
In your .rehyperc.js, import config-rehype-retext and add it to the plugins array, like so:
const retext = require('@fundamend/config-rehype-retext');
const plugins = [retext];
const settings = {};
module.exports = {
plugins: plugins,
settings: settings,
};