@rspress/core 1.4.1 → 1.5.0
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 +4 -2
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
package/dist/index.js
CHANGED
|
@@ -4294,7 +4294,8 @@ async function siteDataVMPlugin(context) {
|
|
|
4294
4294
|
return rest;
|
|
4295
4295
|
}),
|
|
4296
4296
|
markdown: {
|
|
4297
|
-
showLineNumbers: userConfig?.markdown?.showLineNumbers ?? false
|
|
4297
|
+
showLineNumbers: userConfig?.markdown?.showLineNumbers ?? false,
|
|
4298
|
+
defaultWrapCode: userConfig?.markdown?.defaultWrapCode ?? false
|
|
4298
4299
|
}
|
|
4299
4300
|
};
|
|
4300
4301
|
return {
|
|
@@ -4390,7 +4391,8 @@ var DEFAULT_LANGUAGES = [
|
|
|
4390
4391
|
"diff",
|
|
4391
4392
|
"yaml",
|
|
4392
4393
|
["md", "markdown"],
|
|
4393
|
-
["mdx", "tsx"]
|
|
4394
|
+
["mdx", "tsx"],
|
|
4395
|
+
"bash"
|
|
4394
4396
|
];
|
|
4395
4397
|
async function prismLanguageVMPlugin(context) {
|
|
4396
4398
|
const { config } = context;
|