@godxjp/markdown 31.20.0 → 31.20.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/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -89,7 +89,10 @@ type MarkdownProps = {
|
|
|
89
89
|
rehypePlugins?: PluggableList;
|
|
90
90
|
/** Tags / attributes a host plugin needs. Additive; cannot widen the URL policy. */
|
|
91
91
|
schema?: SchemaExtension;
|
|
92
|
-
/**
|
|
92
|
+
/**
|
|
93
|
+
* Element overrides (react-markdown `components`). A host `pre` renders every fence EXCEPT
|
|
94
|
+
* ```mermaid, which is drawn through the gate first; `mermaid={false}` hands those to it too.
|
|
95
|
+
*/
|
|
93
96
|
components?: Components;
|
|
94
97
|
/**
|
|
95
98
|
* Resolves a host-specific URL (`asset:…`, a wiki link) to a real one. Runs before the sanitiser
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@godxjp/markdown",
|
|
3
|
-
"version": "31.20.
|
|
3
|
+
"version": "31.20.1",
|
|
4
4
|
"description": "The one Markdown renderer for GoDX apps: GFM + heading anchors, one sanitiser schema, a shared fixture corpus, and Mermaid drawn only after its SVG passes a fail-closed gate.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|