@readme/markdown 6.52.0 → 6.52.2
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/Anchor.jsx +2 -0
- package/components/Code/index.jsx +1 -1
- package/dist/main.js +15 -10
- package/dist/main.node.js +15 -10
- package/package.json +1 -1
package/components/Anchor.jsx
CHANGED
|
@@ -55,6 +55,7 @@ function Code(props) {
|
|
|
55
55
|
|
|
56
56
|
return (
|
|
57
57
|
<React.Fragment>
|
|
58
|
+
{copyButtons && <CopyCode className="fa" codeRef={codeRef} />}
|
|
58
59
|
<code
|
|
59
60
|
ref={codeRef}
|
|
60
61
|
className={['rdmd-code', `lang-${language}`, `theme-${theme}`].join(' ')}
|
|
@@ -62,7 +63,6 @@ function Code(props) {
|
|
|
62
63
|
name={meta}
|
|
63
64
|
suppressHydrationWarning={true}
|
|
64
65
|
>
|
|
65
|
-
{copyButtons && <CopyCode className="fa" codeRef={codeRef} />}
|
|
66
66
|
{codeContent}
|
|
67
67
|
</code>
|
|
68
68
|
</React.Fragment>
|
package/dist/main.js
CHANGED
|
@@ -9203,6 +9203,7 @@ AnchorWithContext.sanitize = function (sanitizeSchema) {
|
|
|
9203
9203
|
};
|
|
9204
9204
|
|
|
9205
9205
|
module.exports = AnchorWithContext;
|
|
9206
|
+
AnchorWithContext.getHref = getHref;
|
|
9206
9207
|
|
|
9207
9208
|
/***/ }),
|
|
9208
9209
|
|
|
@@ -9357,16 +9358,16 @@ function Code(props) {
|
|
|
9357
9358
|
dark: theme === 'dark'
|
|
9358
9359
|
};
|
|
9359
9360
|
var codeContent = syntaxHighlighter && children ? syntaxHighlighter(children[0], language, codeOpts) : (children === null || children === void 0 ? void 0 : children[0]) || '';
|
|
9360
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
|
9361
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, copyButtons && /*#__PURE__*/React.createElement(CopyCode, {
|
|
9362
|
+
className: "fa",
|
|
9363
|
+
codeRef: codeRef
|
|
9364
|
+
}), /*#__PURE__*/React.createElement("code", {
|
|
9361
9365
|
ref: codeRef,
|
|
9362
9366
|
className: ['rdmd-code', "lang-".concat(language), "theme-".concat(theme)].join(' '),
|
|
9363
9367
|
"data-lang": language,
|
|
9364
9368
|
name: meta,
|
|
9365
9369
|
suppressHydrationWarning: true
|
|
9366
|
-
},
|
|
9367
|
-
className: "fa",
|
|
9368
|
-
codeRef: codeRef
|
|
9369
|
-
}), codeContent));
|
|
9370
|
+
}, codeContent));
|
|
9370
9371
|
}
|
|
9371
9372
|
|
|
9372
9373
|
function CreateCode(_ref2) {
|
|
@@ -52198,6 +52199,9 @@ var Variable = __webpack_require__(3689);
|
|
|
52198
52199
|
|
|
52199
52200
|
var Components = __webpack_require__(3354);
|
|
52200
52201
|
|
|
52202
|
+
var _require2 = __webpack_require__(8447),
|
|
52203
|
+
getHref = _require2.getHref;
|
|
52204
|
+
|
|
52201
52205
|
var GlossaryItem = Components.GlossaryItem,
|
|
52202
52206
|
Code = Components.Code,
|
|
52203
52207
|
Table = Components.Table,
|
|
@@ -52229,9 +52233,9 @@ var tableFlattening = __webpack_require__(4625);
|
|
|
52229
52233
|
var toPlainText = __webpack_require__(4792); // Processor Option Defaults
|
|
52230
52234
|
|
|
52231
52235
|
|
|
52232
|
-
var
|
|
52233
|
-
options =
|
|
52234
|
-
parseOptions =
|
|
52236
|
+
var _require3 = __webpack_require__(2531),
|
|
52237
|
+
options = _require3.options,
|
|
52238
|
+
parseOptions = _require3.parseOptions;
|
|
52235
52239
|
/* Utilities
|
|
52236
52240
|
*/
|
|
52237
52241
|
|
|
@@ -52263,11 +52267,12 @@ function setup(blocks) {
|
|
|
52263
52267
|
return ["".concat(blocks, "\n\n "), opts];
|
|
52264
52268
|
}
|
|
52265
52269
|
|
|
52266
|
-
var
|
|
52267
|
-
calloutIcons =
|
|
52270
|
+
var _require4 = __webpack_require__(3910),
|
|
52271
|
+
calloutIcons = _require4.icons;
|
|
52268
52272
|
|
|
52269
52273
|
var utils = {
|
|
52270
52274
|
BaseUrlContext: BaseUrlContext,
|
|
52275
|
+
getHref: getHref,
|
|
52271
52276
|
GlossaryContext: GlossaryItem.GlossaryContext,
|
|
52272
52277
|
options: options,
|
|
52273
52278
|
VariablesContext: Variable.VariablesContext,
|
package/dist/main.node.js
CHANGED
|
@@ -9203,6 +9203,7 @@ AnchorWithContext.sanitize = function (sanitizeSchema) {
|
|
|
9203
9203
|
};
|
|
9204
9204
|
|
|
9205
9205
|
module.exports = AnchorWithContext;
|
|
9206
|
+
AnchorWithContext.getHref = getHref;
|
|
9206
9207
|
|
|
9207
9208
|
/***/ }),
|
|
9208
9209
|
|
|
@@ -9357,16 +9358,16 @@ function Code(props) {
|
|
|
9357
9358
|
dark: theme === 'dark'
|
|
9358
9359
|
};
|
|
9359
9360
|
var codeContent = syntaxHighlighter && children ? syntaxHighlighter(children[0], language, codeOpts) : (children === null || children === void 0 ? void 0 : children[0]) || '';
|
|
9360
|
-
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(
|
|
9361
|
+
return /*#__PURE__*/React.createElement(React.Fragment, null, copyButtons && /*#__PURE__*/React.createElement(CopyCode, {
|
|
9362
|
+
className: "fa",
|
|
9363
|
+
codeRef: codeRef
|
|
9364
|
+
}), /*#__PURE__*/React.createElement("code", {
|
|
9361
9365
|
ref: codeRef,
|
|
9362
9366
|
className: ['rdmd-code', "lang-".concat(language), "theme-".concat(theme)].join(' '),
|
|
9363
9367
|
"data-lang": language,
|
|
9364
9368
|
name: meta,
|
|
9365
9369
|
suppressHydrationWarning: true
|
|
9366
|
-
},
|
|
9367
|
-
className: "fa",
|
|
9368
|
-
codeRef: codeRef
|
|
9369
|
-
}), codeContent));
|
|
9370
|
+
}, codeContent));
|
|
9370
9371
|
}
|
|
9371
9372
|
|
|
9372
9373
|
function CreateCode(_ref2) {
|
|
@@ -34543,6 +34544,9 @@ var Variable = __webpack_require__(3689);
|
|
|
34543
34544
|
|
|
34544
34545
|
var Components = __webpack_require__(3354);
|
|
34545
34546
|
|
|
34547
|
+
var _require2 = __webpack_require__(8447),
|
|
34548
|
+
getHref = _require2.getHref;
|
|
34549
|
+
|
|
34546
34550
|
var GlossaryItem = Components.GlossaryItem,
|
|
34547
34551
|
Code = Components.Code,
|
|
34548
34552
|
Table = Components.Table,
|
|
@@ -34574,9 +34578,9 @@ var tableFlattening = __webpack_require__(4625);
|
|
|
34574
34578
|
var toPlainText = __webpack_require__(4792); // Processor Option Defaults
|
|
34575
34579
|
|
|
34576
34580
|
|
|
34577
|
-
var
|
|
34578
|
-
options =
|
|
34579
|
-
parseOptions =
|
|
34581
|
+
var _require3 = __webpack_require__(2531),
|
|
34582
|
+
options = _require3.options,
|
|
34583
|
+
parseOptions = _require3.parseOptions;
|
|
34580
34584
|
/* Utilities
|
|
34581
34585
|
*/
|
|
34582
34586
|
|
|
@@ -34608,11 +34612,12 @@ function setup(blocks) {
|
|
|
34608
34612
|
return ["".concat(blocks, "\n\n "), opts];
|
|
34609
34613
|
}
|
|
34610
34614
|
|
|
34611
|
-
var
|
|
34612
|
-
calloutIcons =
|
|
34615
|
+
var _require4 = __webpack_require__(3910),
|
|
34616
|
+
calloutIcons = _require4.icons;
|
|
34613
34617
|
|
|
34614
34618
|
var utils = {
|
|
34615
34619
|
BaseUrlContext: BaseUrlContext,
|
|
34620
|
+
getHref: getHref,
|
|
34616
34621
|
GlossaryContext: GlossaryItem.GlossaryContext,
|
|
34617
34622
|
options: options,
|
|
34618
34623
|
VariablesContext: Variable.VariablesContext,
|
package/package.json
CHANGED