@slidev/docs 52.8.0 → 52.9.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.
|
@@ -34,3 +34,16 @@ console.log('Original text')
|
|
|
34
34
|
console.log('Modified text')
|
|
35
35
|
```
|
|
36
36
|
````
|
|
37
|
+
|
|
38
|
+
## Editor Height
|
|
39
|
+
|
|
40
|
+
By default, the Monaco editor has a fixed height based on the initial content. If you start with an empty or small code block and want the editor to automatically grow as you type more code, you can set `{height:'auto'}`.
|
|
41
|
+
|
|
42
|
+
````md
|
|
43
|
+
```ts {monaco} {height:'auto'}
|
|
44
|
+
// The editor will automatically grow as you type more code
|
|
45
|
+
console.log('Hello, World!')
|
|
46
|
+
```
|
|
47
|
+
````
|
|
48
|
+
|
|
49
|
+
You can also set a specific height using CSS units like `{height:'300px'}` or `{height:'100%'}`.
|
package/features/rough-marker.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
depends:
|
|
3
3
|
- guide/animations
|
|
4
4
|
relates:
|
|
5
|
-
- Rough Notation: https://github.com/
|
|
5
|
+
- Rough Notation: https://github.com/slidevjs/rough-notation
|
|
6
6
|
since: v0.48.0
|
|
7
7
|
tags: [drawing, animation]
|
|
8
8
|
description: |
|
|
@@ -11,7 +11,7 @@ description: |
|
|
|
11
11
|
|
|
12
12
|
# Rough Markers
|
|
13
13
|
|
|
14
|
-
Slidev integrates [Rough Notation](https://github.com/
|
|
14
|
+
Slidev integrates [Rough Notation](https://github.com/slidevjs/rough-notation) to allow marking or highlighting elements in your slides.
|
|
15
15
|
|
|
16
16
|
---
|
|
17
17
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/docs",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "52.
|
|
4
|
+
"version": "52.9.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"funding": "https://github.com/sponsors/antfu",
|
|
7
7
|
"homepage": "https://sli.dev",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"vitepress-plugin-group-icons": "^1.6.5",
|
|
37
37
|
"vitepress-plugin-llms": "^1.9.0",
|
|
38
38
|
"vue": "^3.5.24",
|
|
39
|
-
"@slidev/client": "52.
|
|
40
|
-
"@slidev/parser": "52.
|
|
41
|
-
"@slidev/types": "52.
|
|
39
|
+
"@slidev/client": "52.9.0",
|
|
40
|
+
"@slidev/parser": "52.9.0",
|
|
41
|
+
"@slidev/types": "52.9.0"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"dev": "vitepress",
|