@readme/markdown 14.13.0 → 14.13.1
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/Accordion/style.scss +4 -0
- package/dist/lib/micromark/mdx-component/continuation-checks.d.ts +3 -0
- package/dist/main.css +1 -1
- package/dist/main.css.map +1 -1
- package/dist/main.js +183 -103
- package/dist/main.node.js +183 -103
- package/dist/main.node.js.map +1 -1
- package/dist/processor/transform/mdxish/components/mdx-blocks.d.ts +0 -31
- package/dist/render-fixture.css +1 -1
- package/dist/render-fixture.css.map +1 -1
- package/dist/render-fixture.node.js +183 -103
- package/dist/render-fixture.node.js.map +1 -1
- package/dist/utils/common-html-words.d.ts +9 -0
- package/package.json +1 -1
|
@@ -28,6 +28,15 @@ export declare const STANDARD_HTML_TAGS: Set<string>;
|
|
|
28
28
|
* neutralize or claim across blank lines must leave them alone.
|
|
29
29
|
*/
|
|
30
30
|
export declare const HTML_TABLE_STRUCTURE_TAGS: Set<string>;
|
|
31
|
+
/**
|
|
32
|
+
* Tags whose bodies a later mdxish transform keeps raw and never re-parses as
|
|
33
|
+
* markdown. Both layers depend on this property, not on the tags being figures:
|
|
34
|
+
* the transformer treats them as non-promotable, and the tokenizer must not claim
|
|
35
|
+
* markdown islands inside them (a claimed island would never be re-parsed and would
|
|
36
|
+
* leak as literal text). Currently just the figure tags, whose bodies are owned by
|
|
37
|
+
* the figure reassembly transform (`mdxishJsxToMdast`).
|
|
38
|
+
*/
|
|
39
|
+
export declare const NON_REPARSED_BODY_TAGS: Set<string>;
|
|
31
40
|
/**
|
|
32
41
|
* The two HTML "foreign content" namespaces: SVG and MathML. Their descendants
|
|
33
42
|
* (`<path>`, `<mrow>`, …) are namespaced XML, not HTML tags or components. A closed
|
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.13.
|
|
5
|
+
"version": "14.13.1",
|
|
6
6
|
"main": "dist/main.node.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"browser": "dist/main.js",
|