Skip to content

Commit c3c1774

Browse files
authored
docs: update latest features (#174)
1 parent 7a04557 commit c3c1774

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

custom/index.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,17 +99,18 @@ Check out the [type definitions](https://github.com/slidevjs/slidev/blob/main/pa
9999

100100
In addition, every slide accepts the following configuration in the Frontmatter block:
101101

102-
* `clicks` (`number`): Custom clicks count (learn more [here](/guide/animations.html#custom-clicks-count)).
103-
* `disabled` (`boolean`): Completely disable the slide.
104-
* `hide` (`boolean`): Hide sub-slides when using `src` (learn more [here](/guide/syntax.html#multiple-entries)).
102+
* `clicks` (`number`): Custom clicks count (learn more [here](/guide/animations.html#custom-total-clicks-count)).
103+
* `disabled` (`boolean`): Completely disable and hide the slide.
104+
* `hide` (`boolean`): The same as `disabled`.
105105
* `hideInToc` (`boolean`): Hide the slide for the `<Toc>` components (learn more [here](/builtin/components.html#toc)).
106106
* `layout` (`string`): Defines the layout component applied to the slide (learn more [here](/guide/syntax.html#front-matter-layouts) and [here](/builtin/layouts.html)).
107107
* `level` (`number`): Override the title level for the `<Title>` and `<Toc>` components (only if `title` has also been declared, learn more [here](/builtin/components.html#titles)).
108-
* `preload` (`boolean`, default `true`): preload the next slide (learn more [here](/guide/animations.html#motion)).
109-
* `routeAlias` (`string`): create a route alias that can be used in the URL or with the `<Link>` component (learn more [here](/builtin/components.html#link)).
108+
* `preload` (`boolean`, default `true`): Preload the next slide (learn more [here](/guide/animations.html#motion)).
109+
* `routeAlias` (`string`): Create a route alias that can be used in the URL or with the `<Link>` component (learn more [here](/builtin/components.html#link)).
110110
* `src` (`string`): Includes a markdown file (learn more [here](/guide/syntax.html#multiple-entries)).
111111
* `title` (`string`): Override the title for the `<Title>` and `<Toc>` components (learn more [here](/builtin/components.html#titles)).
112112
* `transition` (`string | TransitionProps`): Defines the transition between the slide and the next one (learn more [here](/guide/animations.html#slide-transitions)).
113+
* `zoom` (`number`): Custom zoom scale. Useful for slides with a lot of content.
113114

114115
## Directory Structure
115116

guide/install.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,9 @@ Options:
163163
* `--port`, `-p` (`number`, default: `3030`): port number.
164164
* `--open`, `-o` (`boolean`, default: `false`): open in browser.
165165
* `--remote [password]` (`string`): listen to public host and enable remote control, if a value is passed then the presenter mode is private and only accessible by passing the given password in the URL query `password` parameter.
166+
* `--bind` (`string`, default: `0.0.0.0`): specify which IP addresses the server should listen on in the remote mode.
166167
* `--log` (`'error', 'warn', 'info', 'silent'`, default: `'warn'`): Log level.
167-
* `--force`, `-f` (`boolean`, default `false`): force the optimizer to ignore the cache and re-bundle.
168+
* `--force`, `-f` (`boolean`, default: `false`): force the optimizer to ignore the cache and re-bundle.
168169
* `--theme`, `-t` (`string`): override theme.
169170

170171
### `slidev build [entry]`

0 commit comments

Comments
 (0)