@astrojs/markdown-remark 0.7.0-next.1 → 0.7.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/CHANGELOG.md +13 -0
- package/dist/remark-prism.js +1 -1
- package/package.json +2 -2
- package/src/remark-prism.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @astrojs/markdown-remark
|
|
2
2
|
|
|
3
|
+
## 0.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#2824](https://github.com/withastro/astro/pull/2824) [`0a3d3e51`](https://github.com/withastro/astro/commit/0a3d3e51a66af80fa949ba0f5e2104439d2be634) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Change shiki to our default markdown syntax highlighter. This includes updates to all relevant starter projects that used Prism-specific styles.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- [#2870](https://github.com/withastro/astro/pull/2870) [`d763ec18`](https://github.com/withastro/astro/commit/d763ec183ea391ad79ca16bf2b2e76848fc1180c) Thanks [@FredKSchott](https://github.com/FredKSchott)! - Fix a shiki performance issue affecting large sites
|
|
12
|
+
|
|
13
|
+
- Updated dependencies [[`2db97f10`](https://github.com/withastro/astro/commit/2db97f10dc50f9498413181b78c477fe8833895b)]:
|
|
14
|
+
- @astrojs/prism@0.4.1
|
|
15
|
+
|
|
3
16
|
## 0.7.0-next.1
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/remark-prism.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { visit } from "unist-util-visit";
|
|
2
2
|
import Prism from "prismjs";
|
|
3
|
-
import { addAstro } from "@astrojs/prism";
|
|
3
|
+
import { addAstro } from "@astrojs/prism/internal";
|
|
4
4
|
import loadLanguages from "prismjs/components/index.js";
|
|
5
5
|
const noVisit = /* @__PURE__ */ new Set(["root", "html", "text"]);
|
|
6
6
|
const languageMap = /* @__PURE__ */ new Map([["ts", "typescript"]]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@astrojs/markdown-remark",
|
|
3
|
-
"version": "0.7.0
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"author": "withastro",
|
|
6
6
|
"license": "MIT",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
".": "./dist/index.js"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@astrojs/prism": "^0.4.1
|
|
19
|
+
"@astrojs/prism": "^0.4.1",
|
|
20
20
|
"assert": "^2.0.0",
|
|
21
21
|
"github-slugger": "^1.4.0",
|
|
22
22
|
"gray-matter": "^4.0.3",
|
package/src/remark-prism.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { visit } from 'unist-util-visit';
|
|
2
2
|
import Prism from 'prismjs';
|
|
3
|
-
import { addAstro } from '@astrojs/prism';
|
|
3
|
+
import { addAstro } from '@astrojs/prism/internal';
|
|
4
4
|
import loadLanguages from 'prismjs/components/index.js';
|
|
5
5
|
const noVisit = new Set(['root', 'html', 'text']);
|
|
6
6
|
|