@readme/markdown 14.11.0 → 14.11.2
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/TableOfContents/index.tsx +29 -1
- package/dist/main.js +322 -37
- package/dist/main.node.js +322 -37
- package/dist/main.node.js.map +1 -1
- package/dist/processor/transform/mdxish/evaluate-style-block-expressions.d.ts +18 -0
- package/dist/processor/transform/mdxish/style-object-to-css.d.ts +11 -0
- package/dist/processor/transform/mdxish/tables/utils.d.ts +5 -0
- package/dist/render-fixture.node.js +322 -37
- package/dist/render-fixture.node.js.map +1 -1
- package/dist/utils/common-html-words.d.ts +7 -0
- package/package.json +1 -1
|
@@ -21,6 +21,13 @@ export declare const RUNTIME_COMPONENT_TAGS: Set<string>;
|
|
|
21
21
|
* Uses the html-tags package, converted to a Set<string> for efficient lookups.
|
|
22
22
|
*/
|
|
23
23
|
export declare const STANDARD_HTML_TAGS: Set<string>;
|
|
24
|
+
/**
|
|
25
|
+
* Table structural tags. Blank lines inside these carry deliberate meaning for
|
|
26
|
+
* `mdxishTables` (e.g. splitting cell content into paragraphs, or deciding
|
|
27
|
+
* whether a table stays plain HTML vs a JSX `<Table>`), so transforms that
|
|
28
|
+
* neutralize or claim across blank lines must leave them alone.
|
|
29
|
+
*/
|
|
30
|
+
export declare const HTML_TABLE_STRUCTURE_TAGS: Set<string>;
|
|
24
31
|
/**
|
|
25
32
|
* HTML void elements — elements that have no closing tag and no children.
|
|
26
33
|
*
|
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": "14.11.
|
|
5
|
+
"version": "14.11.2",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"browser": "dist/main.js",
|