@readme/markdown 14.13.1 → 14.14.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/TailwindRoot/index.tsx +4 -0
- package/dist/example/components.d.ts +2 -0
- package/dist/index.d.ts +1 -1
- package/dist/lib/htmlToMarkdown.d.ts +5 -0
- package/dist/lib/index.d.ts +1 -0
- package/dist/lib/mdxish.d.ts +1 -1
- package/dist/lib/renderMdxish.d.ts +1 -1
- package/dist/main.css +1 -1
- package/dist/main.css.map +1 -1
- package/dist/main.js +354 -255
- package/dist/main.node.js +354 -255
- package/dist/main.node.js.map +1 -1
- package/dist/processor/plugin/mdxish-components.d.ts +1 -1
- package/dist/processor/utils.d.ts +11 -0
- package/dist/render-fixture.node.js +353 -255
- package/dist/render-fixture.node.js.map +1 -1
- package/package.json +1 -1
- package/styles/gfm.scss +15 -1
|
@@ -9,7 +9,7 @@ interface Options {
|
|
|
9
9
|
* Identifies custom MDX components and recursively parses markdown children.
|
|
10
10
|
* Replaces tagName with PascalCase component name for React component resolution.
|
|
11
11
|
*
|
|
12
|
-
* @see
|
|
12
|
+
* @see .claude/context/MDXish/Processor Overview.md
|
|
13
13
|
* @param {Options} options - Configuration options
|
|
14
14
|
* @param {CustomComponents} options.components - Available custom components
|
|
15
15
|
* @param {Function} options.processMarkdown - Function to process markdown content
|
|
@@ -9,6 +9,17 @@ import { Parser } from 'acorn';
|
|
|
9
9
|
* to parse expressions containing JSX.
|
|
10
10
|
*/
|
|
11
11
|
export declare const jsxAcornParser: typeof Parser;
|
|
12
|
+
/**
|
|
13
|
+
* Disables CommonMark's indented-code-block construct (4+ spaces)
|
|
14
|
+
* The micromark tokenizers use follow the CommonMark specification: https://spec.commonmark.org/0.28/#indented-code-blocks
|
|
15
|
+
* So any lines indented 4+ spaces are considered as a code block,
|
|
16
|
+
* which is unexpected from users that used MDX before.
|
|
17
|
+
*/
|
|
18
|
+
export declare const disableIndentedCode: {
|
|
19
|
+
disable: {
|
|
20
|
+
null: string[];
|
|
21
|
+
};
|
|
22
|
+
};
|
|
12
23
|
/**
|
|
13
24
|
* Evaluate a JavaScript expression source and return its value.
|
|
14
25
|
*
|