mdast-util-mdx-jsx
Advanced tools
Comparing version 0.1.2 to 0.1.3
{ | ||
"name": "mdast-util-mdx-jsx", | ||
"version": "0.1.2", | ||
"version": "0.1.3", | ||
"description": "mdast extension to parse and serialize MDX or MDX.js JSX", | ||
@@ -44,3 +44,3 @@ "license": "MIT", | ||
"mdast-util-from-markdown": "^0.8.0", | ||
"micromark-extension-mdx-jsx": "^0.1.0", | ||
"micromark-extension-mdx-jsx": "^0.3.0", | ||
"nyc": "^15.0.0", | ||
@@ -47,0 +47,0 @@ "prettier": "^2.0.0", |
@@ -22,3 +22,3 @@ # mdast-util-mdx-jsx | ||
(which both include this package) to support all of MDX (or MDX.js). | ||
Or use it all through `remark-mdx` or `remark-mdxjs` (**[remark][]**). | ||
Or use it all through [`remark-mdx`][remark-mdx] (**[remark][]**). | ||
@@ -93,6 +93,3 @@ ## Install | ||
children: [ | ||
{ | ||
type: 'paragraph', | ||
children: [{type: 'text', value: 'a list'}] | ||
} | ||
{type: 'paragraph', children: [{type: 'text', value: 'a list'}]} | ||
] | ||
@@ -113,4 +110,18 @@ } | ||
estree: { | ||
type: 'SpreadElement', | ||
argument: {type: 'Identifier', name: 'props'} | ||
type: 'Program', | ||
body: [ | ||
{ | ||
type: 'ExpressionStatement', | ||
expression: { | ||
type: 'ObjectExpression', | ||
properties: [ | ||
{ | ||
type: 'SpreadElement', | ||
argument: {type: 'Identifier', name: 'props'} | ||
} | ||
] | ||
} | ||
} | ||
], | ||
sourceType: 'module' | ||
} | ||
@@ -312,6 +323,4 @@ } | ||
— markdown processor powered by plugins | ||
* `remarkjs/remark-mdx` | ||
* [`remarkjs/remark-mdx`][remark-mdx] | ||
— remark plugin to support MDX | ||
* `remarkjs/remark-mdxjs` | ||
— remark plugin to support MDX.js | ||
* [`syntax-tree/mdast-util-from-markdown`][from-markdown] | ||
@@ -409,1 +418,3 @@ — mdast parser using `micromark` to create mdast from markdown | ||
[dfn-mixin-mdx-jsx-element]: #mdxjsxelement | ||
[remark-mdx]: https://github.com/mdx-js/mdx/tree/next/packages/remark-mdx |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23989
416