1 | /**
|
2 | * @author Titus Wormer
|
3 | * @copyright 2016 Titus Wormer
|
4 | * @license MIT
|
5 | * @module rehype
|
6 | * @fileoverview HTML processor powered by plugins.
|
7 | */
|
8 |
|
9 | ;
|
10 |
|
11 | /* Dependencies. */
|
12 | var unified = require('unified');
|
13 | var parse = require('rehype-parse');
|
14 | var stringify = require('rehype-stringify');
|
15 |
|
16 | /* Expose. */
|
17 | module.exports = unified()
|
18 | .use(parse)
|
19 | .use(stringify)
|
20 | .abstract();
|