@shikijs/transformers 3.11.0 → 3.12.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.mjs +1 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -472,7 +472,7 @@ function transformerRemoveNotationEscape() {
|
|
|
472
472
|
code(hast) {
|
|
473
473
|
function replace(node) {
|
|
474
474
|
if (node.type === "text") {
|
|
475
|
-
node.value = node.value.replace("
|
|
475
|
+
node.value = node.value.replace("[\\!code", "[!code");
|
|
476
476
|
} else if ("children" in node) {
|
|
477
477
|
for (const child of node.children) {
|
|
478
478
|
replace(child);
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shikijs/transformers",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.12.0",
|
|
5
5
|
"description": "Collective of common transformers transformers for Shiki",
|
|
6
6
|
"author": "Anthony Fu <anthonyfu117@hotmail.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -27,8 +27,8 @@
|
|
|
27
27
|
"dist"
|
|
28
28
|
],
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@shikijs/
|
|
31
|
-
"@shikijs/
|
|
30
|
+
"@shikijs/types": "3.12.0",
|
|
31
|
+
"@shikijs/core": "3.12.0"
|
|
32
32
|
},
|
|
33
33
|
"scripts": {
|
|
34
34
|
"build": "unbuild",
|