@ceed/cds 1.2.8-next.3 → 1.2.9-next.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.cjs +2 -0
- package/dist/index.js +2 -0
- package/framer/index.js +54 -39
- package/package.json +2 -1
package/dist/index.cjs
CHANGED
|
@@ -4302,6 +4302,7 @@ var import_joy41 = require("@mui/joy");
|
|
|
4302
4302
|
var import_react30 = __toESM(require("react"));
|
|
4303
4303
|
var import_joy42 = require("@mui/joy");
|
|
4304
4304
|
var import_joy43 = require("@mui/joy");
|
|
4305
|
+
var import_remark_gfm = __toESM(require("remark-gfm"));
|
|
4305
4306
|
var LazyReactMarkdown = (0, import_react30.lazy)(() => import("react-markdown"));
|
|
4306
4307
|
var Markdown = (props) => {
|
|
4307
4308
|
const [rehypeAccent2, setRehypeAccent] = (0, import_react30.useState)(null);
|
|
@@ -4347,6 +4348,7 @@ var Markdown = (props) => {
|
|
|
4347
4348
|
...markdownOptions,
|
|
4348
4349
|
children: content,
|
|
4349
4350
|
rehypePlugins: [[rehypeAccent2, { accentColor }]],
|
|
4351
|
+
remarkPlugins: [import_remark_gfm.default],
|
|
4350
4352
|
components: {
|
|
4351
4353
|
h1: ({ children }) => /* @__PURE__ */ import_react30.default.createElement(Typography, { color, textColor, level: "h1" }, children),
|
|
4352
4354
|
h2: ({ children }) => /* @__PURE__ */ import_react30.default.createElement(Typography, { color, textColor, level: "h2" }, children),
|
package/dist/index.js
CHANGED
|
@@ -4282,6 +4282,7 @@ import { Grid } from "@mui/joy";
|
|
|
4282
4282
|
import React28, { lazy, Suspense, useEffect as useEffect7, useState as useState8 } from "react";
|
|
4283
4283
|
import { Skeleton } from "@mui/joy";
|
|
4284
4284
|
import { Link as Link2 } from "@mui/joy";
|
|
4285
|
+
import remarkGfm from "remark-gfm";
|
|
4285
4286
|
var LazyReactMarkdown = lazy(() => import("react-markdown"));
|
|
4286
4287
|
var Markdown = (props) => {
|
|
4287
4288
|
const [rehypeAccent2, setRehypeAccent] = useState8(null);
|
|
@@ -4327,6 +4328,7 @@ var Markdown = (props) => {
|
|
|
4327
4328
|
...markdownOptions,
|
|
4328
4329
|
children: content,
|
|
4329
4330
|
rehypePlugins: [[rehypeAccent2, { accentColor }]],
|
|
4331
|
+
remarkPlugins: [remarkGfm],
|
|
4330
4332
|
components: {
|
|
4331
4333
|
h1: ({ children }) => /* @__PURE__ */ React28.createElement(Typography, { color, textColor, level: "h1" }, children),
|
|
4332
4334
|
h2: ({ children }) => /* @__PURE__ */ React28.createElement(Typography, { color, textColor, level: "h2" }, children),
|