@readme/markdown 13.5.0 → 13.6.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.
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Inline component tags handled by mdxish-inline-components.ts.
3
+ * Also excluded from block-level handling in mdxish-component-blocks.ts.
4
+ */
5
+ export declare const INLINE_COMPONENT_TAGS: Set<string>;
@@ -0,0 +1,11 @@
1
+ import type { Parent } from 'mdast';
2
+ import type { Plugin } from 'unified';
3
+ /**
4
+ * Transforms inline html component nodes (e.g. <Anchor>) into proper MDAST phrasing content.
5
+ *
6
+ * Inline components are excluded from mdxishComponentBlocks (which only handles block-level
7
+ * elements), so they remain as scattered html/text/html sibling nodes inside a paragraph.
8
+ * This plugin merges them into a single typed MDAST node.
9
+ */
10
+ declare const mdxishInlineComponents: Plugin<[], Parent>;
11
+ export default mdxishInlineComponents;
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.0",
5
+ "version": "13.6.0",
6
6
  "main": "dist/main.node.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "browser": "dist/main.js",