@kwirthmagnify/kwirth-common-front 0.5.60 → 0.5.61
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/MarkdownViewer.js +2 -1
- package/package.json +3 -2
package/dist/MarkdownViewer.js
CHANGED
|
@@ -6,8 +6,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
exports.MarkdownViewer = void 0;
|
|
7
7
|
const react_1 = __importDefault(require("react"));
|
|
8
8
|
const react_markdown_1 = __importDefault(require("react-markdown"));
|
|
9
|
+
const remark_gfm_1 = __importDefault(require("remark-gfm"));
|
|
9
10
|
const MarkdownViewer = ({ content, style }) => {
|
|
10
11
|
return (react_1.default.createElement("div", { style: Object.assign({ fontSize: 14, lineHeight: 1.6 }, style) },
|
|
11
|
-
react_1.default.createElement(react_markdown_1.default,
|
|
12
|
+
react_1.default.createElement(react_markdown_1.default, { remarkPlugins: [remark_gfm_1.default] }, content)));
|
|
12
13
|
};
|
|
13
14
|
exports.MarkdownViewer = MarkdownViewer;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kwirthmagnify/kwirth-common-front",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.61",
|
|
4
4
|
"description": "Frontend channel interfaces for Kwirth plugins and channels",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "del .\\dist\\* /s /q && tsc"
|
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"license": "ISC",
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@kwirthmagnify/kwirth-common": "^0.5.45",
|
|
22
|
-
"react-markdown": "^10.1.0"
|
|
22
|
+
"react-markdown": "^10.1.0",
|
|
23
|
+
"remark-gfm": "^4.0.1"
|
|
23
24
|
},
|
|
24
25
|
"peerDependencies": {
|
|
25
26
|
"@mui/icons-material": ">=5.0.0",
|