create-docusaurus 3.9.2-canary-6556 → 3.9.2-canary-6563
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/package.json +3 -3
- package/templates/classic/package.json +6 -6
- package/templates/classic-typescript/package.json +7 -7
- package/templates/shared/blog/{2019-05-28-first-blog-post.md → 2019-05-28-first-blog-post.mdx} +1 -1
- package/templates/shared/blog/{2019-05-29-long-blog-post.md → 2019-05-29-long-blog-post.mdx} +2 -2
- package/templates/shared/blog/2021-08-26-welcome/{index.md → index.mdx} +1 -1
- package/templates/shared/docs/tutorial-basics/{congratulations.md → congratulations.mdx} +1 -1
- package/templates/shared/docs/tutorial-basics/markdown-features.mdx +24 -8
- /package/templates/shared/docs/{intro.md → intro.mdx} +0 -0
- /package/templates/shared/docs/tutorial-basics/{create-a-blog-post.md → create-a-blog-post.mdx} +0 -0
- /package/templates/shared/docs/tutorial-basics/{create-a-document.md → create-a-document.mdx} +0 -0
- /package/templates/shared/docs/tutorial-basics/{create-a-page.md → create-a-page.mdx} +0 -0
- /package/templates/shared/docs/tutorial-basics/{deploy-your-site.md → deploy-your-site.mdx} +0 -0
- /package/templates/shared/docs/tutorial-extras/{manage-docs-versions.md → manage-docs-versions.mdx} +0 -0
- /package/templates/shared/docs/tutorial-extras/{translate-your-site.md → translate-your-site.mdx} +0 -0
- /package/templates/shared/src/pages/{markdown-page.md → markdown-page.mdx} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-docusaurus",
|
|
3
|
-
"version": "3.9.2-canary-
|
|
3
|
+
"version": "3.9.2-canary-6563",
|
|
4
4
|
"description": "Create Docusaurus apps easily.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "MIT",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@docusaurus/logger": "3.9.2-canary-
|
|
25
|
+
"@docusaurus/logger": "3.9.2-canary-6563",
|
|
26
26
|
"commander": "^5.1.0",
|
|
27
27
|
"cross-spawn": "^7.0.0",
|
|
28
28
|
"prompts": "^2.4.2",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"engines": {
|
|
37
37
|
"node": ">=20.0"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "79d747edc6a5018b2f57f2bb34aed4f619749fc6"
|
|
40
40
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-2-classic-template",
|
|
3
|
-
"version": "3.9.2-canary-
|
|
3
|
+
"version": "3.9.2-canary-6563",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"docusaurus": "docusaurus",
|
|
@@ -14,9 +14,9 @@
|
|
|
14
14
|
"write-heading-ids": "docusaurus write-heading-ids"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@docusaurus/core": "3.9.2-canary-
|
|
18
|
-
"@docusaurus/faster": "3.9.2-canary-
|
|
19
|
-
"@docusaurus/preset-classic": "3.9.2-canary-
|
|
17
|
+
"@docusaurus/core": "3.9.2-canary-6563",
|
|
18
|
+
"@docusaurus/faster": "3.9.2-canary-6563",
|
|
19
|
+
"@docusaurus/preset-classic": "3.9.2-canary-6563",
|
|
20
20
|
"@mdx-js/react": "^3.0.0",
|
|
21
21
|
"clsx": "^2.0.0",
|
|
22
22
|
"prism-react-renderer": "^2.3.0",
|
|
@@ -24,8 +24,8 @@
|
|
|
24
24
|
"react-dom": "^19.0.0"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@docusaurus/module-type-aliases": "3.9.2-canary-
|
|
28
|
-
"@docusaurus/types": "3.9.2-canary-
|
|
27
|
+
"@docusaurus/module-type-aliases": "3.9.2-canary-6563",
|
|
28
|
+
"@docusaurus/types": "3.9.2-canary-6563"
|
|
29
29
|
},
|
|
30
30
|
"browserslist": {
|
|
31
31
|
"production": [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "docusaurus-2-classic-typescript-template",
|
|
3
|
-
"version": "3.9.2-canary-
|
|
3
|
+
"version": "3.9.2-canary-6563",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
6
|
"docusaurus": "docusaurus",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"typecheck": "tsc"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@docusaurus/core": "3.9.2-canary-
|
|
19
|
-
"@docusaurus/faster": "3.9.2-canary-
|
|
20
|
-
"@docusaurus/preset-classic": "3.9.2-canary-
|
|
18
|
+
"@docusaurus/core": "3.9.2-canary-6563",
|
|
19
|
+
"@docusaurus/faster": "3.9.2-canary-6563",
|
|
20
|
+
"@docusaurus/preset-classic": "3.9.2-canary-6563",
|
|
21
21
|
"@mdx-js/react": "^3.0.0",
|
|
22
22
|
"clsx": "^2.0.0",
|
|
23
23
|
"prism-react-renderer": "^2.3.0",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
"react-dom": "^19.0.0"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@docusaurus/module-type-aliases": "3.9.2-canary-
|
|
29
|
-
"@docusaurus/tsconfig": "3.9.2-canary-
|
|
30
|
-
"@docusaurus/types": "3.9.2-canary-
|
|
28
|
+
"@docusaurus/module-type-aliases": "3.9.2-canary-6563",
|
|
29
|
+
"@docusaurus/tsconfig": "3.9.2-canary-6563",
|
|
30
|
+
"@docusaurus/types": "3.9.2-canary-6563",
|
|
31
31
|
"@types/react": "^19.0.0",
|
|
32
32
|
"typescript": "~6.0.2"
|
|
33
33
|
},
|
package/templates/shared/blog/{2019-05-29-long-blog-post.md → 2019-05-29-long-blog-post.mdx}
RENAMED
|
@@ -7,9 +7,9 @@ tags: [hello, docusaurus]
|
|
|
7
7
|
|
|
8
8
|
This is the summary of a very long blog post,
|
|
9
9
|
|
|
10
|
-
Use a
|
|
10
|
+
Use a `{/*` `truncate` `*/}` comment to limit blog post size in the list view.
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
{/* truncate */}
|
|
13
13
|
|
|
14
14
|
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Pellentesque elementum dignissim ultricies. Fusce rhoncus ipsum tempor eros aliquam consequat. Lorem ipsum dolor sit amet
|
|
15
15
|
|
|
@@ -8,7 +8,7 @@ You have just learned the **basics of Docusaurus** and made some changes to the
|
|
|
8
8
|
|
|
9
9
|
Docusaurus has **much more to offer**!
|
|
10
10
|
|
|
11
|
-
Have **5 more minutes**? Take a look at **[versioning](../tutorial-extras/manage-docs-versions.
|
|
11
|
+
Have **5 more minutes**? Take a look at **[versioning](../tutorial-extras/manage-docs-versions.mdx)** and **[i18n](../tutorial-extras/translate-your-site.mdx)**.
|
|
12
12
|
|
|
13
13
|
Anything **unclear** or **buggy** in this tutorial? [Please report it!](https://github.com/facebook/docusaurus/discussions/4610)
|
|
14
14
|
|
|
@@ -20,9 +20,25 @@ slug: /my-custom-url
|
|
|
20
20
|
---
|
|
21
21
|
// highlight-end
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
Markdown content
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
## Headings {/* #my-heading-id */}
|
|
27
|
+
|
|
28
|
+
Markdown headings are supported using the standard “#” syntax and are automatically added to the table of contents. The number of `#` corresponds to the heading level.
|
|
29
|
+
|
|
30
|
+
```md
|
|
31
|
+
## Headings
|
|
24
32
|
|
|
25
|
-
|
|
33
|
+
My text
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
### Heading Ids {/* #my-custom-id */}
|
|
37
|
+
|
|
38
|
+
Add `{/* #my-custom-id */}` after the heading text to assign it an explicit anchor id, used for linking.
|
|
39
|
+
|
|
40
|
+
```md
|
|
41
|
+
### Heading Ids {/_ #my-custom-id _/}
|
|
26
42
|
```
|
|
27
43
|
|
|
28
44
|
## Links
|
|
@@ -34,10 +50,10 @@ Let's see how to [Create a page](/create-a-page).
|
|
|
34
50
|
```
|
|
35
51
|
|
|
36
52
|
```md
|
|
37
|
-
Let's see how to [Create a page](./create-a-page.
|
|
53
|
+
Let's see how to [Create a page](./create-a-page.mdx).
|
|
38
54
|
```
|
|
39
55
|
|
|
40
|
-
**Result:** Let's see how to [Create a page](./create-a-page.
|
|
56
|
+
**Result:** Let's see how to [Create a page](./create-a-page.mdx).
|
|
41
57
|
|
|
42
58
|
## Images
|
|
43
59
|
|
|
@@ -80,26 +96,26 @@ function HelloDocusaurus() {
|
|
|
80
96
|
Docusaurus has a special syntax to create admonitions and callouts:
|
|
81
97
|
|
|
82
98
|
```md
|
|
83
|
-
:::tip
|
|
99
|
+
:::tip[My tip]
|
|
84
100
|
|
|
85
101
|
Use this awesome feature option
|
|
86
102
|
|
|
87
103
|
:::
|
|
88
104
|
|
|
89
|
-
:::danger
|
|
105
|
+
:::danger[Take care]
|
|
90
106
|
|
|
91
107
|
This action is dangerous
|
|
92
108
|
|
|
93
109
|
:::
|
|
94
110
|
```
|
|
95
111
|
|
|
96
|
-
:::tip
|
|
112
|
+
:::tip[My tip]
|
|
97
113
|
|
|
98
114
|
Use this awesome feature option
|
|
99
115
|
|
|
100
116
|
:::
|
|
101
117
|
|
|
102
|
-
:::danger
|
|
118
|
+
:::danger[Take care]
|
|
103
119
|
|
|
104
120
|
This action is dangerous
|
|
105
121
|
|
|
File without changes
|
/package/templates/shared/docs/tutorial-basics/{create-a-blog-post.md → create-a-blog-post.mdx}
RENAMED
|
File without changes
|
/package/templates/shared/docs/tutorial-basics/{create-a-document.md → create-a-document.mdx}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/templates/shared/docs/tutorial-extras/{manage-docs-versions.md → manage-docs-versions.mdx}
RENAMED
|
File without changes
|
/package/templates/shared/docs/tutorial-extras/{translate-your-site.md → translate-your-site.mdx}
RENAMED
|
File without changes
|
|
File without changes
|