Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: remove the need for nbsp; on list item svg
- Loading branch information
Showing
4 changed files
with
9 additions
and
79 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -57,7 +57,7 @@ defineExpose({ props }); | |
} | ||
& > div > svg ~ * { | ||
@apply mt-4; | ||
@apply mt-6; | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,81 +1,9 @@ | ||
--- | ||
theme: ./ | ||
theme: ../ | ||
lineNumbers: true | ||
themeConfig: | ||
pip: off | ||
layout: cover | ||
--- | ||
|
||
# Foo | ||
|
||
Lorem Ipsum | ||
|
||
## Bar | ||
|
||
Lorem Ipsum | ||
|
||
### Baz | ||
|
||
Lorem Ipsum | ||
|
||
#### Qux | ||
|
||
Lorem Ipsum | ||
|
||
--- slide | ||
|
||
# Hey | ||
|
||
--- slide | ||
title: Hey | ||
|
||
--- | ||
|
||
# What is Slidev? | ||
|
||
Slidev is a slides maker and presenter designed for developers, consist of the following features | ||
|
||
- π **Text-based** - focus on the content with Markdown, and then style them later | ||
- π¨ **Themable** - theme can be shared and used with npm packages | ||
- π§βπ» **Developer Friendly** - code highlighting, live coding with autocompletion | ||
- π€Ή **Interactive** - embedding Vue components to enhance your expressions | ||
- π₯ **Recording** - built-in recording and camera view | ||
- π€ **Portable** - export into PDF, PNGs, or even a hostable SPA | ||
- π **Hackable** - anything possible on a webpage | ||
|
||
Read more about [Why Slidev?](https://sli.dev/guide/why) | ||
|
||
--- | ||
|
||
# Navigation | ||
|
||
Hover on the bottom-left corner to see the navigation's controls panel | ||
|
||
### Keyboard Shortcuts | ||
|
||
| | | | ||
| ---------------------------------------------------- | --------------------------- | | ||
| <kbd>space</kbd> / <kbd>tab</kbd> / <kbd>right</kbd> | next animation or slide | | ||
| <kbd>left</kbd> / <kbd>shift</kbd><kbd>space</kbd> | previous animation or slide | | ||
| <kbd>up</kbd> | previous slide | | ||
| <kbd>down</kbd> | next slide | | ||
|
||
--- | ||
|
||
# Code | ||
|
||
Use code snippets and get the highlighting directly! | ||
|
||
## Hey | ||
|
||
```ts {all|2-5|all} | ||
interface User { | ||
id: number; | ||
firstName: string; | ||
lastName: string; | ||
role: string; | ||
} | ||
|
||
function updateUser(id: number, update: Partial<User>) { | ||
const user = getUser(id); | ||
const newUser = { ...user, ...update }; | ||
saveUser(id, newUser); | ||
} | ||
``` | ||
# Playground |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -46,6 +46,7 @@ html { | |
& > svg:first-child, | ||
& > p > svg:first-child { | ||
@apply inline; | ||
margin-right: 0.4em; | ||
} | ||
} | ||
|
||
|