remark-parse-yaml
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "remark-parse-yaml", | ||
"description": "Parses yaml blocks into structured data", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"keywords": [ | ||
@@ -25,3 +25,2 @@ "remark", | ||
"dependencies": { | ||
"babel-polyfill": "^6.23.0", | ||
"js-yaml": "^3.9.0", | ||
@@ -34,3 +33,3 @@ "unist-util-map": "^1.0.3" | ||
"babel-preset-env": "^1.6.0", | ||
"mocha": "^3.4.2", | ||
"mocha": "^5.2.0", | ||
"rehype-stringify": "^3.0.0", | ||
@@ -37,0 +36,0 @@ "remark-parse": "^3.0.1", |
@@ -11,7 +11,9 @@ # remark-parse-yaml | ||
const markdown = require('remark-parse') | ||
const taskListPlugin = require('remark-parse-yaml'); | ||
const frontmatter = require('remark-frontmatter') | ||
const parseFrontmatter = require('remark-parse-yaml'); | ||
let processor = unified() | ||
.use(markdown, { gfm: true, footnotes: true, yaml: true }) | ||
.use(yamlPlugin) | ||
.use(markdown) | ||
.use(frontmatter) | ||
.use(parseFrontmatter) | ||
``` | ||
@@ -18,0 +20,0 @@ |
2
46
4445
6
- Removedbabel-polyfill@^6.23.0
- Removedbabel-polyfill@6.26.0(transitive)
- Removedbabel-runtime@6.26.0(transitive)
- Removedcore-js@2.6.12(transitive)
- Removedregenerator-runtime@0.10.50.11.1(transitive)