theme | titleTemplate | author | layout |
---|---|---|---|
./ |
%s - Shodo |
Manon Carbonnel |
cover |
layout: full
Hover on the bottom-left corner to see the navigation's controls panel
space / tab / right | next animation or slide |
left / shiftspace | previous animation or slide |
up | previous slide |
down | next slide |
layout: intro
I am Jaden Smith
I am here because I love to give presentations.
You can find me at @username
layout: section
index: 1
Let’s start with the first set of slides
layout: quote
Quotations are commonly printed as a means of inspiration and to invoke philosophical thoughts from the reader.
Some author
layout: default
- Here you have a list of items
- And some text
- But remember not to overload your slides with content
Your audience will listen to you or read the content, but won’t do both.
layout: statement
Bring the attention of your audience over a key concept using icons or illustrations
layout: two-cols-header
::left::
Is the color of milk and fresh snow, the color produced by the combination of all the colors of the visible spectrum.
::right::
Is the color of ebony and of outer space. It has been the symbolic color of elegance, solemnity and authority.
layout: three-cols-header
::left::
Is the color of gold, butter and ripe lemons. In the spectrum of visible light, yellow is found between green and orange.
::center::
Is the colour of the clear sky and the deep sea. It is located between violet and green on the optical spectrum.
::right::
Is the color of blood, and because of this it has historically been associated with sacrifice, danger and courage.
layout: image-right
image: /image-illustration-manifeste.png
A complex idea can be conveyed with just a single still image, namely making it possible to absorb large amounts of data quickly.
Use code snippets and get the highlighting directly, and even types hover![^1]
// TwoSlash enables TypeScript hover information
// and errors in markdown code blocks
// More at https://shiki.style/packages/twoslash
import { computed, ref } from "vue";
const count = ref(0);
const doubled = computed(() => count.value * 2);
doubled.value = 2;
level: 2
Powered by shiki-magic-move, Slidev supports animations across multiple code snippets.
Add multiple code blocks and wrap them with ````md magic-move
(four backticks) to enable the magic move. For example:
```ts {*|2|*}
// step 1
const author = reactive({
name: "John Doe",
books: [
"Vue 2 - Advanced Guide",
"Vue 3 - Basic Guide",
"Vue 4 - The Mystery",
],
});
```
```ts {*|1-2|3-4|3-4,8}
// step 2
export default {
data() {
return {
author: {
name: "John Doe",
books: [
"Vue 2 - Advanced Guide",
"Vue 3 - Basic Guide",
"Vue 4 - The Mystery",
],
},
};
},
};
```
```ts
// step 3
export default {
data: () => ({
author: {
name: "John Doe",
books: [
"Vue 2 - Advanced Guide",
"Vue 3 - Basic Guide",
"Vue 4 - The Mystery",
],
},
}),
};
```
Non-code blocks are ignored.
```vue
<!-- step 4 -->
<script setup>
const author = {
name: "John Doe",
books: [
"Vue 2 - Advanced Guide",
"Vue 3 - Basic Guide",
"Vue 4 - The Mystery",
],
};
</script>
```
function distance(x: number, y: number) {
return Math.sqrt(x ** 2 + y ** 2);
}
function distance(x: number, y: number) {
return Math.sqrt(x ** 2 + y ** 2);
}
console.log(distance(3, 4));
{monaco-diff} can generate a diff between two code blocks!
console.log('Original text')
~~~
console.log('Modified text')
layout: image
image: /image-illustration-manifeste.png
Want big impact? Use big image.
A | B | C | |
---|---|---|---|
Yellow | 10 | 20 | 7 |
Blue | 20 | 15 | 10 |
Orange | 30 | 24 | 16 |
layout: center
89,526,124
Whoa! That’s a big number, aren’t you proud?
layout: three-rows
::top:: 89,526,124$
That’s a lot of money
::center:: 185,244 users
And a lot of users
::bottom:: 100%
Total success!
layout: six-cells-header
::top-left::
This shows on the top left
::top-center::
This shows on the top center
::top-right::
This shows on the top right
::bottom-left::
This shows on the bottom left
::bottom-center::
This shows on the bottom center
::bottom-right::
This shows on the bottom right
You can use Vue components directly inside your slides.
We have provided a few built-in components like <Tweet/>
that you can use directly.
And adding your custom components is also super easy.
<Counter :count="10" />
Check out the guides for more.
<Tweet id="1225079443758206976" />
layout: full
<Youtube id="56EpJFCka1I" width="80%" height="350px" />
You can add v-click
to elements to add a click animation.
This shows up when you click the slide:
<div v-click>This shows up when you click the slide.</div>
The v-mark
directive
also allows you to add
inline marks
, powered by Rough Notation:
<span v-mark.underline.orange>inline markers</span>
Motion animations are powered by @vueuse/motion, triggered by v-motion
directive.
<div
v-motion
:initial="{ x: -80 }"
:enter="{ x: 0 }"
:click-3="{ x: 80 }"
:leave="{ x: 1000 }"
>
Slidev
</div>
LaTeX is supported out-of-box powered by KaTeX.
Inline
Block
$$ {1|3|all} \begin{array}{c}
\nabla \times \vec{\mathbf{B}} -, \frac1c, \frac{\partial\vec{\mathbf{E}}}{\partial t} & = \frac{4\pi}{c}\vec{\mathbf{j}} \nabla \cdot \vec{\mathbf{E}} & = 4 \pi \rho \
\nabla \times \vec{\mathbf{E}}, +, \frac1c, \frac{\partial\vec{\mathbf{B}}}{\partial t} & = \vec{\mathbf{0}} \
\nabla \cdot \vec{\mathbf{B}} & = 0
\end{array} $$
You can create diagrams / graphs from textual descriptions, directly in your Markdown.
sequenceDiagram
Alice->John: Hello John, how are you?
Note over Alice,John: A typical interaction
graph TD
B[Text] --> C{Decision}
C -->|One| D[Result 1]
C -->|Two| E[Result 2]
mindmap
root((mindmap))
Origins
Long history
::icon(fa fa-book)
Popularisation
British popular psychology author Tony Buzan
Research
On effectiveness<br/>and features
On Automatic creation
Uses
Creative techniques
Strategic planning
Argument mapping
Tools
Pen and paper
Mermaid
@startuml
package "Some Group" {
HTTP - [First Component]
[Another Component]
}
node "Other Groups" {
FTP - [Second Component]
[First Component] --> FTP
}
cloud {
[Example 1]
}
database "MySql" {
folder "This is my folder" {
[Folder 3]
}
frame "Foo" {
[Frame 4]
}
}
[Another Component] --> [Example 1]
[Example 1] --> [Folder 3]
[Folder 3] --> [Frame 4]
@enduml
layout: screenshot
layoutClass: laptop
screenshot: image-illustration-manifeste.png
::left::
::right::
Show and explain your web, app or software projects using these gadget templates.
layout: screenshot
layoutClass: mobile
screenshot: shodo.io-screenshot.png
::left::
::right::
Show and explain your web, app or software projects using these gadget templates.
layout: end
Any questions?
You can find me at
- @username
- user@mail.me