@readme/markdown 6.31.0-integration-test.2 → 6.32.0-next.3

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/main.node.js CHANGED
@@ -7,7 +7,7 @@
7
7
  var a = typeof exports === 'object' ? factory(require("@readme/variable"), require("react")) : factory(root["@readme/variable"], root["React"]);
8
8
  for(var i in a) (typeof exports === 'object' ? exports : root)[i] = a[i];
9
9
  }
10
- })(global, function(__WEBPACK_EXTERNAL_MODULE__2215__, __WEBPACK_EXTERNAL_MODULE__7444__) {
10
+ })(global, function(__WEBPACK_EXTERNAL_MODULE__3689__, __WEBPACK_EXTERNAL_MODULE__4466__) {
11
11
  return /******/ (() => { // webpackBootstrap
12
12
  /******/ var __webpack_modules__ = ({
13
13
 
@@ -9054,7 +9054,7 @@ var _objectWithoutProperties = __webpack_require__(6479);
9054
9054
 
9055
9055
  var _excluded = ["baseUrl", "children", "href", "target", "title"];
9056
9056
 
9057
- var React = __webpack_require__(7444);
9057
+ var React = __webpack_require__(4466);
9058
9058
 
9059
9059
  var PropTypes = __webpack_require__(5697);
9060
9060
 
@@ -9161,7 +9161,7 @@ var _extends = __webpack_require__(7154);
9161
9161
 
9162
9162
  var _toArray = __webpack_require__(8551);
9163
9163
 
9164
- var React = __webpack_require__(7444);
9164
+ var React = __webpack_require__(4466);
9165
9165
 
9166
9166
  var PropTypes = __webpack_require__(5697);
9167
9167
 
@@ -9227,19 +9227,27 @@ module.exports = function (sanitizeSchema) {
9227
9227
 
9228
9228
  var _extends = __webpack_require__(7154);
9229
9229
 
9230
- var React = __webpack_require__(7444);
9230
+ var React = __webpack_require__(4466);
9231
9231
 
9232
- var PropTypes = __webpack_require__(5697); // Only load CodeMirror in the browser, for SSR
9232
+ var PropTypes = __webpack_require__(5697);
9233
+
9234
+ var copy = __webpack_require__(640); // Only load CodeMirror in the browser, for SSR
9233
9235
  // apps. Necessary because of people like this:
9234
9236
  // https://github.com/codemirror/CodeMirror/issues/3701#issuecomment-164904534
9235
9237
 
9236
9238
 
9237
- var syntaxHighlighter = typeof window !== 'undefined' ? __webpack_require__(6841).default : false;
9239
+ var syntaxHighlighter;
9238
9240
 
9239
- var _require = __webpack_require__(6841),
9240
- canonicalLanguage = _require.canonical;
9241
+ var canonicalLanguage = function canonicalLanguage() {};
9242
+
9243
+ if (typeof window !== 'undefined') {
9244
+ // eslint-disable-next-line global-require
9245
+ syntaxHighlighter = __webpack_require__(6841)["default"]; // eslint-disable-next-line global-require
9241
9246
 
9242
- var copy = __webpack_require__(640);
9247
+ var _require = __webpack_require__(6841);
9248
+
9249
+ canonicalLanguage = _require.canonical;
9250
+ }
9243
9251
 
9244
9252
  function CopyCode(_ref) {
9245
9253
  var codeRef = _ref.codeRef,
@@ -9284,18 +9292,20 @@ function Code(props) {
9284
9292
  className = props.className,
9285
9293
  copyButtons = props.copyButtons,
9286
9294
  lang = props.lang,
9287
- meta = props.meta;
9295
+ meta = props.meta,
9296
+ theme = props.theme;
9288
9297
  var langClass = className.search(/lang(?:uage)?-\w+/) >= 0 ? className.match(/\s?lang(?:uage)?-(\w+)/)[1] : '';
9289
9298
  var language = canonicalLanguage(lang) || langClass;
9290
9299
  var codeRef = React.createRef();
9291
9300
  var codeOpts = {
9292
9301
  inline: !lang,
9293
- tokenizeVariables: true
9302
+ tokenizeVariables: true,
9303
+ dark: theme === 'dark'
9294
9304
  };
9295
9305
  var codeContent = syntaxHighlighter ? syntaxHighlighter(children[0], language, codeOpts) : children[0];
9296
9306
  return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("code", {
9297
9307
  ref: codeRef,
9298
- className: ['rdmd-code', "lang-".concat(language)].join(' '),
9308
+ className: ['rdmd-code', "lang-".concat(language), "theme-".concat(theme)].join(' '),
9299
9309
  "data-lang": language,
9300
9310
  name: meta,
9301
9311
  suppressHydrationWarning: true
@@ -9306,13 +9316,15 @@ function Code(props) {
9306
9316
  }
9307
9317
 
9308
9318
  function CreateCode(sanitizeSchema, _ref2) {
9309
- var copyButtons = _ref2.copyButtons;
9319
+ var copyButtons = _ref2.copyButtons,
9320
+ theme = _ref2.theme;
9310
9321
  // This is for code blocks class name
9311
9322
  sanitizeSchema.attributes.code = ['className', 'lang', 'meta', 'value']; // eslint-disable-next-line react/display-name
9312
9323
 
9313
9324
  return function (props) {
9314
9325
  return /*#__PURE__*/React.createElement(Code, _extends({}, props, {
9315
- copyButtons: copyButtons
9326
+ copyButtons: copyButtons,
9327
+ theme: theme
9316
9328
  }));
9317
9329
  };
9318
9330
  }
@@ -9322,7 +9334,8 @@ Code.propTypes = {
9322
9334
  className: PropTypes.string,
9323
9335
  copyButtons: PropTypes.bool,
9324
9336
  lang: PropTypes.string,
9325
- meta: PropTypes.string
9337
+ meta: PropTypes.string,
9338
+ theme: PropTypes.string
9326
9339
  };
9327
9340
  Code.defaultProps = {
9328
9341
  className: '',
@@ -9342,7 +9355,7 @@ module.exports = function (sanitizeSchema, opts) {
9342
9355
 
9343
9356
  var _extends = __webpack_require__(7154);
9344
9357
 
9345
- var React = __webpack_require__(7444);
9358
+ var React = __webpack_require__(4466);
9346
9359
 
9347
9360
  var PropTypes = __webpack_require__(5697);
9348
9361
 
@@ -9351,7 +9364,8 @@ var _require = __webpack_require__(6841),
9351
9364
 
9352
9365
  var CodeTabs = function CodeTabs(props) {
9353
9366
  var attributes = props.attributes,
9354
- children = props.children;
9367
+ children = props.children,
9368
+ theme = props.theme;
9355
9369
 
9356
9370
  function handleClick(_ref, index) {
9357
9371
  var target = _ref.target;
@@ -9370,7 +9384,7 @@ var CodeTabs = function CodeTabs(props) {
9370
9384
  /*#__PURE__*/
9371
9385
  // eslint-disable-next-line react/jsx-props-no-spreading
9372
9386
  React.createElement("div", _extends({}, attributes, {
9373
- className: "CodeTabs CodeTabs_initial"
9387
+ className: "CodeTabs CodeTabs_initial theme-".concat(theme)
9374
9388
  }), /*#__PURE__*/React.createElement("div", {
9375
9389
  className: "CodeTabs-toolbar"
9376
9390
  }, children.map(function (_ref2, i) {
@@ -9395,14 +9409,25 @@ var CodeTabs = function CodeTabs(props) {
9395
9409
 
9396
9410
  CodeTabs.propTypes = {
9397
9411
  attributes: PropTypes.shape({}),
9398
- children: PropTypes.arrayOf(PropTypes.any).isRequired
9412
+ children: PropTypes.arrayOf(PropTypes.any).isRequired,
9413
+ theme: PropTypes.string
9399
9414
  };
9400
9415
  CodeTabs.defaultProps = {
9401
9416
  attributes: null
9402
9417
  };
9403
9418
 
9404
- module.exports = function () {
9405
- return CodeTabs;
9419
+ function CreateCodeTabs(_ref3) {
9420
+ var theme = _ref3.theme;
9421
+ // eslint-disable-next-line react/display-name
9422
+ return function (props) {
9423
+ return /*#__PURE__*/React.createElement(CodeTabs, _extends({}, props, {
9424
+ theme: theme
9425
+ }));
9426
+ };
9427
+ }
9428
+
9429
+ module.exports = function (_, opts) {
9430
+ return CreateCodeTabs(opts);
9406
9431
  };
9407
9432
 
9408
9433
  /***/ }),
@@ -9432,7 +9457,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
9432
9457
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
9433
9458
 
9434
9459
  /* eslint-disable react/jsx-props-no-spreading, jsx-a11y/iframe-has-title */
9435
- var React = __webpack_require__(7444);
9460
+ var React = __webpack_require__(4466);
9436
9461
 
9437
9462
  var propTypes = __webpack_require__(5697);
9438
9463
 
@@ -9566,7 +9591,7 @@ module.exports = function () {
9566
9591
 
9567
9592
  var _extends = __webpack_require__(7154);
9568
9593
 
9569
- var React = __webpack_require__(7444);
9594
+ var React = __webpack_require__(4466);
9570
9595
 
9571
9596
  var PropTypes = __webpack_require__(5697);
9572
9597
 
@@ -9636,7 +9661,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
9636
9661
 
9637
9662
  /* eslint-disable no-eval
9638
9663
  */
9639
- var React = __webpack_require__(7444);
9664
+ var React = __webpack_require__(4466);
9640
9665
 
9641
9666
  var PropTypes = __webpack_require__(5697);
9642
9667
 
@@ -9728,7 +9753,7 @@ var _objectWithoutProperties = __webpack_require__(6479);
9728
9753
 
9729
9754
  var _excluded = ["tag", "showAnchorIcons"];
9730
9755
 
9731
- var React = __webpack_require__(7444);
9756
+ var React = __webpack_require__(4466);
9732
9757
 
9733
9758
  var PropTypes = __webpack_require__(5697);
9734
9759
 
@@ -9812,7 +9837,7 @@ var _objectWithoutProperties = __webpack_require__(6479);
9812
9837
  var _excluded = ["alt", "onScroll", "opened"];
9813
9838
 
9814
9839
  /* eslint-disable jsx-a11y/no-autofocus, jsx-a11y/no-noninteractive-tabindex, react/jsx-props-no-spreading */
9815
- var React = __webpack_require__(7444);
9840
+ var React = __webpack_require__(4466);
9816
9841
  /**
9817
9842
  * A very simple, CSS-driven lightbox.
9818
9843
  * @todo currently, a new <Lightbox> instance is rendered for
@@ -9880,7 +9905,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
9880
9905
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
9881
9906
 
9882
9907
  /* eslint-disable no-param-reassign, react/jsx-props-no-spreading, no-fallthrough */
9883
- var React = __webpack_require__(7444);
9908
+ var React = __webpack_require__(4466);
9884
9909
 
9885
9910
  var PropTypes = __webpack_require__(5697);
9886
9911
 
@@ -10025,7 +10050,7 @@ module.exports = function (sanitizeSchema) {
10025
10050
  /***/ 484:
10026
10051
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10027
10052
 
10028
- var React = __webpack_require__(7444);
10053
+ var React = __webpack_require__(4466);
10029
10054
 
10030
10055
  var PropTypes = __webpack_require__(5697);
10031
10056
 
@@ -10051,7 +10076,7 @@ module.exports = function () {
10051
10076
  /***/ 4479:
10052
10077
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10053
10078
 
10054
- var React = __webpack_require__(7444);
10079
+ var React = __webpack_require__(4466);
10055
10080
 
10056
10081
  var PropTypes = __webpack_require__(5697);
10057
10082
 
@@ -10133,7 +10158,7 @@ __webpack_require__.r(__webpack_exports__);
10133
10158
  /***/ 6785:
10134
10159
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10135
10160
 
10136
- var React = __webpack_require__(7444);
10161
+ var React = __webpack_require__(4466);
10137
10162
 
10138
10163
  module.exports = React.createContext('/');
10139
10164
 
@@ -10142,12 +10167,56 @@ module.exports = React.createContext('/');
10142
10167
  /***/ 1252:
10143
10168
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10144
10169
 
10145
- var React = __webpack_require__(7444);
10170
+ var React = __webpack_require__(4466);
10146
10171
 
10147
10172
  module.exports = React.createContext([]);
10148
10173
 
10149
10174
  /***/ }),
10150
10175
 
10176
+ /***/ 1264:
10177
+ /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10178
+
10179
+ var _slicedToArray = __webpack_require__(3038);
10180
+
10181
+ /* eslint-disable no-param-reassign
10182
+ */
10183
+ var sanitize = __webpack_require__(8229);
10184
+
10185
+ var kebabCase = __webpack_require__(5683);
10186
+
10187
+ var registerCustomComponents = function registerCustomComponents(components) {
10188
+ var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'x';
10189
+ return Object.entries(components).reduce(function (all, _ref) {
10190
+ var _ref2 = _slicedToArray(_ref, 2),
10191
+ tag = _ref2[0],
10192
+ component = _ref2[1];
10193
+
10194
+ /* Sanitize + prefix element names.
10195
+ */
10196
+ tag = kebabCase(tag);
10197
+ var isValidOverride = sanitize.tagNames.includes(tag);
10198
+ var isValidElemName = tag.includes('-');
10199
+ if (!(isValidElemName || isValidOverride)) tag = "".concat(prefix, "-").concat(tag);
10200
+ /* Safelist custom tag names.
10201
+ */
10202
+
10203
+ sanitize.tagNames.push(tag);
10204
+ /* Safelist allowed attributes.
10205
+ */
10206
+
10207
+ if (component.propTypes) sanitize.attributes[tag] = [].concat(sanitize.attributes[tag], Object.keys(component.propTypes)).filter(Boolean);
10208
+ /* Add element to custom component store.
10209
+ */
10210
+
10211
+ all[tag] = component;
10212
+ return all;
10213
+ }, {});
10214
+ };
10215
+
10216
+ module.exports = registerCustomComponents;
10217
+
10218
+ /***/ }),
10219
+
10151
10220
  /***/ 368:
10152
10221
  /***/ ((__unused_webpack_module, exports) => {
10153
10222
 
@@ -10169,382 +10238,381 @@ if (true) {
10169
10238
  /***/ }),
10170
10239
 
10171
10240
  /***/ 6841:
10172
- /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
10241
+ /***/ ((module) => {
10173
10242
 
10174
- var _typeof = __webpack_require__(8);
10243
+ (function () {
10244
+ var e = {
10245
+ 559: function _(e) {
10246
+ var l = {
10247
+ aspx: "asp",
10248
+ bash: "shell",
10249
+ "c++": "cplusplus",
10250
+ "c#": "csharp",
10251
+ clj: "clojure",
10252
+ cljc: "clojure",
10253
+ cljx: "clojure",
10254
+ coffeescript: "javascript",
10255
+ cpp: "cplusplus",
10256
+ cql: "sql",
10257
+ cs: "csharp",
10258
+ docker: "dockerfile",
10259
+ ecmascript: "javascript",
10260
+ erl: "erlang",
10261
+ gql: "graphql",
10262
+ gradle: "groovy",
10263
+ handlebars: "html",
10264
+ hbs: "html",
10265
+ jl: "julia",
10266
+ jruby: "ruby",
10267
+ js: "javascript",
10268
+ kt: "kotlin",
10269
+ less: "css",
10270
+ macruby: "ruby",
10271
+ md: "markdown",
10272
+ ml: "ocaml",
10273
+ mssql: "sql",
10274
+ mysql: "sql",
10275
+ node: "javascript",
10276
+ "obj-c": "objectivec",
10277
+ "obj-c++": "objectivecplusplus",
10278
+ "objc++": "objectivecplusplus",
10279
+ objc: "objectivec",
10280
+ objcpp: "objectivecplusplus",
10281
+ objectivecpp: "objectivecplusplus",
10282
+ pgsql: "sql",
10283
+ pl: "perl",
10284
+ plsql: "sql",
10285
+ postgres: "sql",
10286
+ postgresql: "sql",
10287
+ ps1: "powershell",
10288
+ py: "python",
10289
+ rake: "ruby",
10290
+ rb: "ruby",
10291
+ rbx: "ruby",
10292
+ rs: "rust",
10293
+ sass: "css",
10294
+ scss: "css",
10295
+ sh: "shell",
10296
+ sqlite: "sql",
10297
+ styl: "css",
10298
+ stylus: "css",
10299
+ xhtml: "html",
10300
+ yml: "yaml",
10301
+ zsh: "shell"
10302
+ };
10175
10303
 
10176
- module.exports = function (e) {
10177
- var t = {};
10304
+ e.exports = function (e) {
10305
+ return e in l ? l[e] : e;
10306
+ };
10307
+ },
10308
+ 476: function _(e) {
10309
+ function l(e, l) {
10310
+ return function (e) {
10311
+ if (Array.isArray(e)) return e;
10312
+ }(e) || function (e, l) {
10313
+ var t = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
10314
+ if (null == t) return;
10315
+ var s,
10316
+ r,
10317
+ c = [],
10318
+ a = !0,
10319
+ o = !1;
10320
+
10321
+ try {
10322
+ for (t = t.call(e); !(a = (s = t.next()).done) && (c.push(s.value), !l || c.length !== l); a = !0) {
10323
+ ;
10324
+ }
10325
+ } catch (e) {
10326
+ o = !0, r = e;
10327
+ } finally {
10328
+ try {
10329
+ a || null == t.return || t.return();
10330
+ } finally {
10331
+ if (o) throw r;
10332
+ }
10333
+ }
10334
+
10335
+ return c;
10336
+ }(e, l) || function (e, l) {
10337
+ if (!e) return;
10338
+ if ("string" == typeof e) return t(e, l);
10339
+ var s = Object.prototype.toString.call(e).slice(8, -1);
10340
+ "Object" === s && e.constructor && (s = e.constructor.name);
10341
+ if ("Map" === s || "Set" === s) return Array.from(e);
10342
+ if ("Arguments" === s || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(s)) return t(e, l);
10343
+ }(e, l) || function () {
10344
+ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10345
+ }();
10346
+ }
10178
10347
 
10179
- function l(r) {
10180
- if (t[r]) return t[r].exports;
10181
- var s = t[r] = {
10182
- i: r,
10183
- l: !1,
10348
+ function t(e, l) {
10349
+ (null == l || l > e.length) && (l = e.length);
10350
+
10351
+ for (var t = 0, s = new Array(l); t < l; t++) {
10352
+ s[t] = e[t];
10353
+ }
10354
+
10355
+ return s;
10356
+ }
10357
+
10358
+ var s = {
10359
+ asp: "clike",
10360
+ aspx: "clike",
10361
+ bash: "shell",
10362
+ c: "clike",
10363
+ "c#": ["clike", "text/x-csharp"],
10364
+ "c++": ["clike", "text/x-c++src"],
10365
+ clj: "clojure",
10366
+ cljc: "clojure",
10367
+ cljx: "clojure",
10368
+ coffeescript: "javascript",
10369
+ cplusplus: ["clike", "text/x-c++src"],
10370
+ cpp: ["clike", "text/x-c++src"],
10371
+ cql: ["sql", "text/x-cassandra"],
10372
+ cs: ["clike", "text/x-csharp"],
10373
+ csharp: ["clike", "text/x-csharp"],
10374
+ curl: "shell",
10375
+ d: "d",
10376
+ diff: "diff",
10377
+ ecmascript: "javascript",
10378
+ erl: "erlang",
10379
+ go: ["go", "text/x-go"],
10380
+ gradle: "groovy",
10381
+ gql: "graphql",
10382
+ handlebars: "htmlmixed",
10383
+ hbs: "htmlmixed",
10384
+ html: "htmlmixed",
10385
+ java: ["clike", "text/x-java"],
10386
+ jl: "julia",
10387
+ js: "javascript",
10388
+ jsx: "jsx",
10389
+ json: ["javascript", "application/ld+json"],
10390
+ jruby: "ruby",
10391
+ kotlin: ["clike", "text/x-kotlin"],
10392
+ kt: ["clike", "text/x-kotlin"],
10393
+ less: "css",
10394
+ liquid: "htmlmixed",
10395
+ node: "javascript",
10396
+ macruby: "ruby",
10397
+ markdown: "gfm",
10398
+ ml: ["mllike", "text/x-ocaml"],
10399
+ mssql: ["sql", "text/x-mssql"],
10400
+ mysql: ["sql", "text/x-mysql"],
10401
+ objc: ["clike", "text/x-objectivec"],
10402
+ "objc++": ["clike", "text/x-objectivec++"],
10403
+ objcpp: ["clike", "text/x-objectivec++"],
10404
+ objectivec: ["clike", "text/x-objectivec"],
10405
+ objectivecpp: ["clike", "text/x-objectivec++"],
10406
+ objectivecplusplus: ["clike", "text/x-objectivec++"],
10407
+ ocaml: ["mllike", "text/x-ocaml"],
10408
+ php: ["php", "text/x-php"],
10409
+ pgsql: ["sql", "text/x-pgsql"],
10410
+ pl: "perl",
10411
+ plsql: ["sql", "text/x-plsql"],
10412
+ postgres: ["sql", "text/x-pgsql"],
10413
+ postgresql: ["sql", "text/x-pgsql"],
10414
+ ps1: "powershell",
10415
+ py: "python",
10416
+ r: "r",
10417
+ rake: "ruby",
10418
+ rb: "ruby",
10419
+ rbx: "ruby",
10420
+ rs: "rust",
10421
+ sass: "css",
10422
+ scala: ["clike", "text/x-scala"],
10423
+ scss: "css",
10424
+ sh: "shell",
10425
+ sql: ["sql", "text/x-sql"],
10426
+ sqlite: ["sql", "text/x-sqlite"],
10427
+ styl: "css",
10428
+ stylus: "css",
10429
+ text: ["null", "text/plain"],
10430
+ ts: ["javascript", "text/typescript"],
10431
+ typescript: ["javascript", "text/typescript"],
10432
+ xhtml: "htmlmixed",
10433
+ yml: "yaml",
10434
+ zsh: "shell"
10435
+ };
10436
+ e.exports = {
10437
+ modes: s,
10438
+ getMode: function getMode(e) {
10439
+ var t = e;
10440
+ return t in s && (t = s[t], Array.isArray(t) && (t = l(t, 2)[1])), t;
10441
+ }
10442
+ };
10443
+ },
10444
+ 857: function _(e) {
10445
+ var l = {
10446
+ asp: "ASP.NET",
10447
+ aspx: "ASP.NET",
10448
+ bash: "Bash",
10449
+ c: "C",
10450
+ "c#": "C#",
10451
+ "c++": "C++",
10452
+ coffeescript: "CoffeeScript",
10453
+ clj: "Clojure",
10454
+ cljc: "Clojure",
10455
+ cljx: "Clojure",
10456
+ clojure: "Clojure",
10457
+ cplusplus: "C++",
10458
+ cpp: "C++",
10459
+ cql: "Cassandra",
10460
+ cs: "C#",
10461
+ csharp: "C#",
10462
+ css: "CSS",
10463
+ curl: "cURL",
10464
+ d: "D",
10465
+ dart: "Dart",
10466
+ diff: "Diff",
10467
+ dockerfile: "Dockerfile",
10468
+ ecmascript: "ECMAScript",
10469
+ erl: "Erlang",
10470
+ erlang: "Erlang",
10471
+ go: "Go",
10472
+ gql: "GraphQL",
10473
+ gradle: "Gradle",
10474
+ graphql: "GraphQL",
10475
+ groovy: "Groovy",
10476
+ handlebars: "Handlebars",
10477
+ hbs: "Handlebars",
10478
+ haml: "HAML",
10479
+ haxe: "Haxe",
10480
+ html: "HTML",
10481
+ http: "HTTP",
10482
+ java: "Java",
10483
+ javascript: "JavaScript",
10484
+ jinja2: "Jinja2",
10485
+ jl: "Julia",
10486
+ jruby: "JRuby",
10487
+ js: "JavaScript",
10488
+ json: "JSON",
10489
+ jsx: "JSX",
10490
+ julia: "Julia",
10491
+ kotlin: "Kotlin",
10492
+ kt: "Kotlin",
10493
+ less: "LESS",
10494
+ liquid: "Liquid",
10495
+ lua: "Lua",
10496
+ macruby: "MacRuby",
10497
+ markdown: "Markdown",
10498
+ md: "Markdown",
10499
+ ml: "OCaml",
10500
+ mssql: "SQL Server",
10501
+ mysql: "MySQL",
10502
+ node: "Node",
10503
+ objc: "Objective-C",
10504
+ "objc++": "Objective-C++",
10505
+ objcpp: "Objective-C++",
10506
+ objectivec: "Objective-C",
10507
+ objectivecpp: "Objective-C++",
10508
+ objectivecplusplus: "Objective-C++",
10509
+ ocaml: "OCaml",
10510
+ perl: "Perl",
10511
+ php: "PHP",
10512
+ pl: "Perl",
10513
+ pgsql: "PL/pgSQL",
10514
+ plsql: "PL/SQL",
10515
+ postgres: "PostgreSQL",
10516
+ postgresql: "PostgreSQL",
10517
+ powershell: "PowerShell",
10518
+ ps1: "PowerShell",
10519
+ python: "Python",
10520
+ py: "Python",
10521
+ r: "R",
10522
+ rake: "Rake",
10523
+ rb: "Ruby",
10524
+ rbx: "Rubinius",
10525
+ rs: "Rust",
10526
+ ruby: "Ruby",
10527
+ rust: "Rust",
10528
+ sass: "Sass",
10529
+ scala: "Scala",
10530
+ scss: "SCSS",
10531
+ sh: "Shell",
10532
+ shell: "Shell",
10533
+ smarty: "Smarty",
10534
+ sql: "SQL",
10535
+ sqlite: "SQLite",
10536
+ stylus: "Stylus",
10537
+ styl: "Stylus",
10538
+ swift: "Swift",
10539
+ text: "Text",
10540
+ toml: "TOML",
10541
+ twig: "Twig",
10542
+ typescript: "TypeScript",
10543
+ xhtml: "XHTML",
10544
+ xml: "XML",
10545
+ yaml: "YAML",
10546
+ yml: "YAML",
10547
+ zsh: "Zsh"
10548
+ };
10549
+
10550
+ e.exports = function (e) {
10551
+ return e in l ? l[e] : e;
10552
+ };
10553
+ }
10554
+ },
10555
+ l = {};
10556
+
10557
+ function t(s) {
10558
+ var r = l[s];
10559
+ if (void 0 !== r) return r.exports;
10560
+ var c = l[s] = {
10184
10561
  exports: {}
10185
10562
  };
10186
- return e[r].call(s.exports, s, s.exports, l), s.l = !0, s.exports;
10563
+ return e[s](c, c.exports, t), c.exports;
10187
10564
  }
10188
10565
 
10189
- return l.m = e, l.c = t, l.d = function (e, t, r) {
10190
- l.o(e, t) || Object.defineProperty(e, t, {
10191
- enumerable: !0,
10192
- get: r
10193
- });
10194
- }, l.r = function (e) {
10195
- "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
10196
- value: "Module"
10197
- }), Object.defineProperty(e, "__esModule", {
10198
- value: !0
10199
- });
10200
- }, l.t = function (e, t) {
10201
- if (1 & t && (e = l(e)), 8 & t) return e;
10202
- if (4 & t && "object" == _typeof(e) && e && e.__esModule) return e;
10203
- var r = Object.create(null);
10204
- if (l.r(r), Object.defineProperty(r, "default", {
10205
- enumerable: !0,
10206
- value: e
10207
- }), 2 & t && "string" != typeof e) for (var s in e) {
10208
- l.d(r, s, function (t) {
10209
- return e[t];
10210
- }.bind(null, s));
10211
- }
10212
- return r;
10213
- }, l.n = function (e) {
10214
- var t = e && e.__esModule ? function () {
10566
+ t.n = function (e) {
10567
+ var l = e && e.__esModule ? function () {
10215
10568
  return e.default;
10216
10569
  } : function () {
10217
10570
  return e;
10218
10571
  };
10219
- return l.d(t, "a", t), t;
10220
- }, l.o = function (e, t) {
10221
- return Object.prototype.hasOwnProperty.call(e, t);
10222
- }, l.p = "", l(l.s = 3);
10223
- }([function (e, t) {
10224
- function l(e, t) {
10225
- return function (e) {
10226
- if (Array.isArray(e)) return e;
10227
- }(e) || function (e, t) {
10228
- var l = null == e ? null : "undefined" != typeof Symbol && e[Symbol.iterator] || e["@@iterator"];
10229
- if (null == l) return;
10230
- var r,
10231
- s,
10232
- c = [],
10233
- o = !0,
10234
- a = !1;
10235
-
10236
- try {
10237
- for (l = l.call(e); !(o = (r = l.next()).done) && (c.push(r.value), !t || c.length !== t); o = !0) {
10238
- ;
10239
- }
10240
- } catch (e) {
10241
- a = !0, s = e;
10242
- } finally {
10243
- try {
10244
- o || null == l.return || l.return();
10245
- } finally {
10246
- if (a) throw s;
10247
- }
10248
- }
10249
-
10250
- return c;
10251
- }(e, t) || function (e, t) {
10252
- if (!e) return;
10253
- if ("string" == typeof e) return r(e, t);
10254
- var l = Object.prototype.toString.call(e).slice(8, -1);
10255
- "Object" === l && e.constructor && (l = e.constructor.name);
10256
- if ("Map" === l || "Set" === l) return Array.from(e);
10257
- if ("Arguments" === l || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)) return r(e, t);
10258
- }(e, t) || function () {
10259
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
10260
- }();
10261
- }
10262
-
10263
- function r(e, t) {
10264
- (null == t || t > e.length) && (t = e.length);
10265
-
10266
- for (var l = 0, r = new Array(t); l < t; l++) {
10267
- r[l] = e[l];
10268
- }
10269
-
10270
- return r;
10271
- }
10272
-
10273
- var s = {
10274
- asp: "clike",
10275
- aspx: "clike",
10276
- bash: "shell",
10277
- c: "clike",
10278
- "c#": ["clike", "text/x-csharp"],
10279
- "c++": ["clike", "text/x-c++src"],
10280
- clj: "clojure",
10281
- cljc: "clojure",
10282
- cljx: "clojure",
10283
- coffeescript: "javascript",
10284
- cplusplus: ["clike", "text/x-c++src"],
10285
- cpp: ["clike", "text/x-c++src"],
10286
- cql: ["sql", "text/x-cassandra"],
10287
- cs: ["clike", "text/x-csharp"],
10288
- csharp: ["clike", "text/x-csharp"],
10289
- curl: "shell",
10290
- d: "d",
10291
- diff: "diff",
10292
- ecmascript: "javascript",
10293
- erl: "erlang",
10294
- go: ["go", "text/x-go"],
10295
- gradle: "groovy",
10296
- handlebars: "htmlmixed",
10297
- hbs: "htmlmixed",
10298
- html: "htmlmixed",
10299
- java: ["clike", "text/x-java"],
10300
- jl: "julia",
10301
- js: "javascript",
10302
- jsx: "jsx",
10303
- json: ["javascript", "application/ld+json"],
10304
- jruby: "ruby",
10305
- kotlin: ["clike", "text/x-kotlin"],
10306
- kt: ["clike", "text/x-kotlin"],
10307
- less: "css",
10308
- liquid: "htmlmixed",
10309
- node: "javascript",
10310
- macruby: "ruby",
10311
- markdown: "gfm",
10312
- ml: ["mllike", "text/x-ocaml"],
10313
- mssql: ["sql", "text/x-mssql"],
10314
- mysql: ["sql", "text/x-mysql"],
10315
- objc: ["clike", "text/x-objectivec"],
10316
- "objc++": ["clike", "text/x-objectivec++"],
10317
- objcpp: ["clike", "text/x-objectivec++"],
10318
- objectivec: ["clike", "text/x-objectivec"],
10319
- objectivecpp: ["clike", "text/x-objectivec++"],
10320
- objectivecplusplus: ["clike", "text/x-objectivec++"],
10321
- ocaml: ["mllike", "text/x-ocaml"],
10322
- php: ["php", "text/x-php"],
10323
- pgsql: ["sql", "text/x-pgsql"],
10324
- pl: "perl",
10325
- plsql: ["sql", "text/x-plsql"],
10326
- postgres: ["sql", "text/x-pgsql"],
10327
- postgresql: ["sql", "text/x-pgsql"],
10328
- ps1: "powershell",
10329
- py: "python",
10330
- r: "r",
10331
- rake: "ruby",
10332
- rb: "ruby",
10333
- rbx: "ruby",
10334
- rs: "rust",
10335
- sass: "css",
10336
- scala: ["clike", "text/x-scala"],
10337
- scss: "css",
10338
- sh: "shell",
10339
- sql: ["sql", "text/x-sql"],
10340
- sqlite: ["sql", "text/x-sqlite"],
10341
- styl: "css",
10342
- stylus: "css",
10343
- text: ["null", "text/plain"],
10344
- ts: ["javascript", "text/typescript"],
10345
- typescript: ["javascript", "text/typescript"],
10346
- xhtml: "htmlmixed",
10347
- yml: "yaml",
10348
- zsh: "shell"
10349
- };
10350
- e.exports = {
10351
- modes: s,
10352
- getMode: function getMode(e) {
10353
- var t = e;
10354
- return t in s && (t = s[t], Array.isArray(t) && (t = l(t, 2)[1])), t;
10572
+ return t.d(l, {
10573
+ a: l
10574
+ }), l;
10575
+ }, t.d = function (e, l) {
10576
+ for (var s in l) {
10577
+ t.o(l, s) && !t.o(e, s) && Object.defineProperty(e, s, {
10578
+ enumerable: !0,
10579
+ get: l[s]
10580
+ });
10355
10581
  }
10582
+ }, t.o = function (e, l) {
10583
+ return Object.prototype.hasOwnProperty.call(e, l);
10584
+ }, t.r = function (e) {
10585
+ "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
10586
+ value: "Module"
10587
+ }), Object.defineProperty(e, "__esModule", {
10588
+ value: !0
10589
+ });
10356
10590
  };
10357
- }, function (e, t) {
10358
- var l = {
10359
- asp: "ASP.NET",
10360
- aspx: "ASP.NET",
10361
- bash: "Bash",
10362
- c: "C",
10363
- "c#": "C#",
10364
- "c++": "C++",
10365
- coffeescript: "CoffeeScript",
10366
- clj: "Clojure",
10367
- cljc: "Clojure",
10368
- cljx: "Clojure",
10369
- clojure: "Clojure",
10370
- cplusplus: "C++",
10371
- cpp: "C++",
10372
- cql: "Cassandra",
10373
- cs: "C#",
10374
- csharp: "C#",
10375
- css: "CSS",
10376
- curl: "cURL",
10377
- d: "D",
10378
- dart: "Dart",
10379
- diff: "Diff",
10380
- dockerfile: "Dockerfile",
10381
- ecmascript: "ECMAScript",
10382
- erl: "Erlang",
10383
- erlang: "Erlang",
10384
- go: "Go",
10385
- gradle: "Gradle",
10386
- groovy: "Groovy",
10387
- handlebars: "Handlebars",
10388
- hbs: "Handlebars",
10389
- haml: "HAML",
10390
- haxe: "Haxe",
10391
- html: "HTML",
10392
- http: "HTTP",
10393
- java: "Java",
10394
- javascript: "JavaScript",
10395
- jinja2: "Jinja2",
10396
- jl: "Julia",
10397
- jruby: "JRuby",
10398
- js: "JavaScript",
10399
- json: "JSON",
10400
- jsx: "JSX",
10401
- julia: "Julia",
10402
- kotlin: "Kotlin",
10403
- kt: "Kotlin",
10404
- less: "LESS",
10405
- liquid: "Liquid",
10406
- lua: "Lua",
10407
- macruby: "MacRuby",
10408
- markdown: "Markdown",
10409
- md: "Markdown",
10410
- ml: "OCaml",
10411
- mssql: "SQL Server",
10412
- mysql: "MySQL",
10413
- node: "Node",
10414
- objc: "Objective-C",
10415
- "objc++": "Objective-C++",
10416
- objcpp: "Objective-C++",
10417
- objectivec: "Objective-C",
10418
- objectivecpp: "Objective-C++",
10419
- objectivecplusplus: "Objective-C++",
10420
- ocaml: "OCaml",
10421
- perl: "Perl",
10422
- php: "PHP",
10423
- pl: "Perl",
10424
- pgsql: "PL/pgSQL",
10425
- plsql: "PL/SQL",
10426
- postgres: "PostgreSQL",
10427
- postgresql: "PostgreSQL",
10428
- powershell: "PowerShell",
10429
- ps1: "PowerShell",
10430
- python: "Python",
10431
- py: "Python",
10432
- r: "R",
10433
- rake: "Rake",
10434
- rb: "Ruby",
10435
- rbx: "Rubinius",
10436
- rs: "Rust",
10437
- ruby: "Ruby",
10438
- rust: "Rust",
10439
- sass: "Sass",
10440
- scala: "Scala",
10441
- scss: "SCSS",
10442
- sh: "Shell",
10443
- shell: "Shell",
10444
- smarty: "Smarty",
10445
- sql: "SQL",
10446
- sqlite: "SQLite",
10447
- stylus: "Stylus",
10448
- styl: "Stylus",
10449
- swift: "Swift",
10450
- text: "Text",
10451
- toml: "TOML",
10452
- twig: "Twig",
10453
- typescript: "TypeScript",
10454
- xhtml: "XHTML",
10455
- xml: "XML",
10456
- yaml: "YAML",
10457
- yml: "YAML",
10458
- zsh: "Zsh"
10459
- };
10460
-
10461
- e.exports = function (e) {
10462
- return e in l ? l[e] : e;
10463
- };
10464
- }, function (e, t) {
10465
- var l = {
10466
- aspx: "asp",
10467
- bash: "shell",
10468
- "c++": "cplusplus",
10469
- "c#": "csharp",
10470
- clj: "clojure",
10471
- cljc: "clojure",
10472
- cljx: "clojure",
10473
- coffeescript: "javascript",
10474
- cpp: "cplusplus",
10475
- cql: "sql",
10476
- cs: "csharp",
10477
- docker: "dockerfile",
10478
- ecmascript: "javascript",
10479
- erl: "erlang",
10480
- gradle: "groovy",
10481
- handlebars: "html",
10482
- hbs: "html",
10483
- jl: "julia",
10484
- jruby: "ruby",
10485
- js: "javascript",
10486
- kt: "kotlin",
10487
- less: "css",
10488
- macruby: "ruby",
10489
- md: "markdown",
10490
- ml: "ocaml",
10491
- mssql: "sql",
10492
- mysql: "sql",
10493
- node: "javascript",
10494
- "obj-c": "objectivec",
10495
- "obj-c++": "objectivecplusplus",
10496
- "objc++": "objectivecplusplus",
10497
- objc: "objectivec",
10498
- objcpp: "objectivecplusplus",
10499
- objectivecpp: "objectivecplusplus",
10500
- pgsql: "sql",
10501
- pl: "perl",
10502
- plsql: "sql",
10503
- postgres: "sql",
10504
- postgresql: "sql",
10505
- ps1: "powershell",
10506
- py: "python",
10507
- rake: "ruby",
10508
- rb: "ruby",
10509
- rbx: "ruby",
10510
- rs: "rust",
10511
- sass: "css",
10512
- scss: "css",
10513
- sh: "shell",
10514
- sqlite: "sql",
10515
- styl: "css",
10516
- stylus: "css",
10517
- xhtml: "html",
10518
- yml: "yaml",
10519
- zsh: "shell"
10520
- };
10521
-
10522
- e.exports = function (e) {
10523
- return e in l ? l[e] : e;
10524
- };
10525
- }, function (e, t, l) {
10526
- e.exports = l(4);
10527
- }, function (e, t, l) {
10528
- "use strict";
10591
+ var s = {};
10592
+ (function () {
10593
+ "use strict";
10529
10594
 
10530
- l.r(t);
10531
- var r = l(1),
10532
- s = l.n(r);
10533
- l.d(t, "uppercase", function () {
10534
- return s.a;
10535
- });
10536
- var c = l(2),
10537
- o = l.n(c);
10538
- l.d(t, "canonical", function () {
10539
- return o.a;
10540
- });
10541
- var a = l(0);
10542
- l.d(t, "modes", function () {
10543
- return a.modes;
10544
- }), l.d(t, "getMode", function () {
10545
- return a.getMode;
10546
- });
10547
- }]);
10595
+ t.r(s), t.d(s, {
10596
+ uppercase: function uppercase() {
10597
+ return l.a;
10598
+ },
10599
+ canonical: function canonical() {
10600
+ return c.a;
10601
+ },
10602
+ modes: function modes() {
10603
+ return a.modes;
10604
+ },
10605
+ getMode: function getMode() {
10606
+ return a.getMode;
10607
+ }
10608
+ });
10609
+ var e = t(857),
10610
+ l = t.n(e),
10611
+ r = t(559),
10612
+ c = t.n(r),
10613
+ a = t(476);
10614
+ })(), module.exports = s;
10615
+ })();
10548
10616
 
10549
10617
  /***/ }),
10550
10618
 
@@ -10582,7 +10650,8 @@ var options = {
10582
10650
  normalize: true,
10583
10651
  settings: {
10584
10652
  position: false
10585
- }
10653
+ },
10654
+ theme: 'light'
10586
10655
  };
10587
10656
  /**
10588
10657
  * @note disabling `newline`, `paragraph`, or `text` tokenizers trips Remark into an infinite loop!
@@ -11537,7 +11606,7 @@ module.exports.sanitize = function (sanitizeSchema) {
11537
11606
  /***/ 2697:
11538
11607
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
11539
11608
 
11540
- var _require = __webpack_require__(2215),
11609
+ var _require = __webpack_require__(3689),
11541
11610
  VARIABLE_REGEXP = _require.VARIABLE_REGEXP;
11542
11611
 
11543
11612
  function tokenizeVariable(eat, value, silent) {
@@ -11751,13 +11820,6 @@ var _require = __webpack_require__(2781),
11751
11820
  sanitize.clobberPrefix = '';
11752
11821
  sanitize.tagNames.push('span', 'style');
11753
11822
  sanitize.attributes['*'].push('class', 'className', 'align', 'style');
11754
- /**
11755
- * @todo don't manually whitelist custom component attributes
11756
- * within the engine!
11757
- * @todo change `link` to `href`
11758
- */
11759
-
11760
- sanitize.attributes['tutorial-tile'] = ['backgroundColor', 'emoji', 'link', 'slug'];
11761
11823
  sanitize.tagNames.push('rdme-pin');
11762
11824
  sanitize.tagNames.push('rdme-embed');
11763
11825
  sanitize.attributes['rdme-embed'] = ['url', 'provider', 'html', 'title', 'href', 'iframe', 'width', 'height', 'image', 'favicon'];
@@ -15532,7 +15594,7 @@ module.exports = svg
15532
15594
  /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
15533
15595
 
15534
15596
  try {
15535
- var util = __webpack_require__(1669);
15597
+ var util = __webpack_require__(3837);
15536
15598
  /* istanbul ignore next */
15537
15599
  if (typeof util.inherits !== 'function') throw '';
15538
15600
  module.exports = util.inherits;
@@ -29414,7 +29476,7 @@ function repeat(str, num) {
29414
29476
  "use strict";
29415
29477
 
29416
29478
 
29417
- var path = __webpack_require__(5622);
29479
+ var path = __webpack_require__(1017);
29418
29480
 
29419
29481
  function replaceExt(npath, ext) {
29420
29482
  if (typeof npath !== 'string') {
@@ -31552,7 +31614,7 @@ function parseOrigin(origin) {
31552
31614
  "use strict";
31553
31615
 
31554
31616
 
31555
- var path = __webpack_require__(5622)
31617
+ var path = __webpack_require__(1017)
31556
31618
  var replace = __webpack_require__(8245)
31557
31619
  var buffer = __webpack_require__(8738)
31558
31620
 
@@ -31843,35 +31905,35 @@ function factory(key, options) {
31843
31905
 
31844
31906
  /***/ }),
31845
31907
 
31846
- /***/ 2215:
31908
+ /***/ 1017:
31847
31909
  /***/ ((module) => {
31848
31910
 
31849
31911
  "use strict";
31850
- module.exports = __WEBPACK_EXTERNAL_MODULE__2215__;
31912
+ module.exports = require("path");
31851
31913
 
31852
31914
  /***/ }),
31853
31915
 
31854
- /***/ 5622:
31916
+ /***/ 3837:
31855
31917
  /***/ ((module) => {
31856
31918
 
31857
31919
  "use strict";
31858
- module.exports = require("path");
31920
+ module.exports = require("util");
31859
31921
 
31860
31922
  /***/ }),
31861
31923
 
31862
- /***/ 1669:
31924
+ /***/ 3689:
31863
31925
  /***/ ((module) => {
31864
31926
 
31865
31927
  "use strict";
31866
- module.exports = require("util");
31928
+ module.exports = __WEBPACK_EXTERNAL_MODULE__3689__;
31867
31929
 
31868
31930
  /***/ }),
31869
31931
 
31870
- /***/ 7444:
31932
+ /***/ 4466:
31871
31933
  /***/ ((module) => {
31872
31934
 
31873
31935
  "use strict";
31874
- module.exports = __WEBPACK_EXTERNAL_MODULE__7444__;
31936
+ module.exports = __WEBPACK_EXTERNAL_MODULE__4466__;
31875
31937
 
31876
31938
  /***/ }),
31877
31939
 
@@ -32064,7 +32126,7 @@ const defaultSchema = {
32064
32126
 
32065
32127
  /***/ }),
32066
32128
 
32067
- /***/ 9823:
32129
+ /***/ 5907:
32068
32130
  /***/ ((__unused_webpack___webpack_module__, __webpack_exports__, __webpack_require__) => {
32069
32131
 
32070
32132
  "use strict";
@@ -33724,7 +33786,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
33724
33786
  /* eslint-disable no-param-reassign */
33725
33787
  __webpack_require__(2787);
33726
33788
 
33727
- var React = __webpack_require__(7444);
33789
+ var React = __webpack_require__(4466);
33728
33790
 
33729
33791
  var unified = __webpack_require__(8835);
33730
33792
  /* Unified Plugins
@@ -33737,7 +33799,7 @@ var generateTOC = __webpack_require__(3263);
33737
33799
 
33738
33800
  var mapNodes = __webpack_require__(6579);
33739
33801
 
33740
- var _require = __webpack_require__(9823),
33802
+ var _require = __webpack_require__(5907),
33741
33803
  selectAll = _require.selectAll; // remark plugins
33742
33804
 
33743
33805
 
@@ -33769,7 +33831,7 @@ var rehypeReact = __webpack_require__(7431);
33769
33831
 
33770
33832
  var BaseUrlContext = __webpack_require__(6785);
33771
33833
 
33772
- var Variable = __webpack_require__(2215);
33834
+ var Variable = __webpack_require__(3689);
33773
33835
 
33774
33836
  var Components = __webpack_require__(3354);
33775
33837
 
@@ -33808,6 +33870,11 @@ var toPlainText = __webpack_require__(4792); // Processor Option Defaults
33808
33870
  var _require2 = __webpack_require__(2531),
33809
33871
  options = _require2.options,
33810
33872
  parseOptions = _require2.parseOptions;
33873
+ /* Utilities
33874
+ */
33875
+
33876
+
33877
+ var registerCustomComponents = __webpack_require__(1264);
33811
33878
  /**
33812
33879
  * Normalize Magic Block Raw Text
33813
33880
  */
@@ -33898,14 +33965,11 @@ var count = {};
33898
33965
  function reactProcessor() {
33899
33966
  var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
33900
33967
  var components = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
33901
- Object.keys(components).map(function (key) {
33902
- return sanitize.tagNames.push(key);
33903
- });
33904
33968
  return processor(opts).use(sectionAnchorId).use(rehypeReact, {
33905
33969
  createElement: React.createElement,
33906
33970
  Fragment: React.Fragment,
33907
33971
  components: _objectSpread({
33908
- 'code-tabs': CodeTabs(sanitize),
33972
+ 'code-tabs': CodeTabs(sanitize, opts),
33909
33973
  'html-block': HTMLBlock(sanitize),
33910
33974
  'rdme-callout': Callout(sanitize),
33911
33975
  'readme-variable': Variable,
@@ -33922,7 +33986,7 @@ function reactProcessor() {
33922
33986
  h6: Heading(6, count, opts),
33923
33987
  code: Code(sanitize, opts),
33924
33988
  img: Image(sanitize)
33925
- }, components)
33989
+ }, registerCustomComponents(components, opts.customComponentPrefix))
33926
33990
  });
33927
33991
  }
33928
33992
  function react(content) {