acsi-core 0.9.8 → 0.9.9
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +2 -2
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2077,10 +2077,10 @@ LatexExtractor.LATEX_PATTERNS = [/[a-zA-Z0-9]_\{[^}]*\}/g, /[a-zA-Z0-9]\^\{[^}]*
|
|
|
2077
2077
|
var MarkdownRenderer = function MarkdownRenderer(_ref) {
|
|
2078
2078
|
var content = _ref.content;
|
|
2079
2079
|
var formattedContent = formatContent(content);
|
|
2080
|
-
return React__default.createElement(ReactMarkdown, {
|
|
2080
|
+
return React__default.createElement("span", null, React__default.createElement(ReactMarkdown, {
|
|
2081
2081
|
remarkPlugins: [remarkMath],
|
|
2082
2082
|
rehypePlugins: [rehypeKatex, rehypeRaw]
|
|
2083
|
-
}, formattedContent);
|
|
2083
|
+
}, formattedContent));
|
|
2084
2084
|
};
|
|
2085
2085
|
function formatContent(content) {
|
|
2086
2086
|
if (!content || content.trim() === "") {
|