@godxjp/markdown 31.20.0 → 31.21.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +4 -1
  2. 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
- /** Element overrides (react-markdown `components`). A host `pre` replaces the Mermaid default. */
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.0",
3
+ "version": "31.21.0",
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",