@maif/react-forms 1.2.0 → 1.2.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/lib/index.js +0 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -28102,11 +28102,6 @@ function CodeInput({ onChange, value, mode = 'javascript', tabSize = 2, readOnly
|
|
|
28102
28102
|
return React__default["default"].createElement("div", { className: className, ref: ref });
|
|
28103
28103
|
}
|
|
28104
28104
|
|
|
28105
|
-
['javascript', 'json', 'markdown', 'css'].forEach((langName) => {
|
|
28106
|
-
// Using require() here because import() support hasn't landed in Webpack yet
|
|
28107
|
-
const langModule = require(`highlight.js/lib/languages/${langName}`);
|
|
28108
|
-
hljs__default["default"].registerLanguage(langName, langModule);
|
|
28109
|
-
});
|
|
28110
28105
|
const converter = new showdown__default["default"].Converter({
|
|
28111
28106
|
omitExtraWLInCodeBlocks: true,
|
|
28112
28107
|
ghCompatibleHeaderId: true,
|