hexo/node_modules/hexo-renderer-stylus/index.js

8 lines
192 B
JavaScript

/* global hexo */
'use strict';
const renderer = require('./lib/renderer');
hexo.extend.renderer.register('styl', 'css', renderer);
hexo.extend.renderer.register('stylus', 'css', renderer);