@rspress/core 1.7.4 → 1.7.5
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 +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/dist/index.js
CHANGED
|
@@ -4192,6 +4192,11 @@ async function extractPageData(replaceRules, alias, domain, root, routeService2)
|
|
|
4192
4192
|
selector: "img",
|
|
4193
4193
|
format: "skip"
|
|
4194
4194
|
},
|
|
4195
|
+
{
|
|
4196
|
+
// Skip code blocks
|
|
4197
|
+
selector: "pre > code",
|
|
4198
|
+
format: "skip"
|
|
4199
|
+
},
|
|
4195
4200
|
...["h1", "h2", "h3", "h4", "h5", "h6"].map((tag) => ({
|
|
4196
4201
|
selector: tag,
|
|
4197
4202
|
options: {
|