@readme/markdown 13.6.3 → 13.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/Image/index.tsx +60 -39
- package/components/Image/style.scss +1 -0
- package/dist/main.css +1 -1
- package/dist/main.css.map +1 -1
- package/dist/main.js +160 -45
- package/dist/main.node.js +145 -40
- package/dist/main.node.js.map +1 -1
- package/dist/processor/transform/mdxish/mdxish-jsx-to-mdast.d.ts +2 -1
- package/package.json +1 -1
|
@@ -7,7 +7,8 @@ import type { Plugin } from 'unified';
|
|
|
7
7
|
* - JSX component elements (Image, Callout, Embed, Recipe) into their corresponding MDAST types
|
|
8
8
|
* - Magic block image nodes (type: 'image') into image-block
|
|
9
9
|
* - Magic block embed nodes (type: 'embed') into embed-block
|
|
10
|
-
* - Figure nodes
|
|
10
|
+
* - Figure nodes (magic blocks with captions) into flat image-block with caption string
|
|
11
|
+
* - Normalizes all image-block attrs (border, align, sizing, caption) to a consistent shape
|
|
11
12
|
*
|
|
12
13
|
* This is controlled by the `newEditorTypes` flag to maintain backwards compatibility.
|
|
13
14
|
*/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@readme/markdown",
|
|
3
3
|
"description": "ReadMe's React-based Markdown parser",
|
|
4
4
|
"author": "Rafe Goldberg <rafe@readme.io>",
|
|
5
|
-
"version": "13.
|
|
5
|
+
"version": "13.7.0",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"browser": "dist/main.js",
|