Skip to content

Commit

Permalink
Upgrade Slidev
Browse files Browse the repository at this point in the history
Upgrade Slidev to latest version.

There were some breaking changes related to the code block highlighter.
The default highlighter was changed from Prism to Shiki and the new
highlighter did not have a `git` language.
  • Loading branch information
mikelorant committed Mar 19, 2024
1 parent 2065cb8 commit 9bce490
Show file tree
Hide file tree
Showing 5 changed files with 1,782 additions and 964 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
"export": "slidev export"
},
"dependencies": {
"@slidev/cli": "^0.46.1",
"@slidev/theme-apple-basic": "^0.20.0",
"@slidev/theme-default": "^0.21.2",
"@slidev/theme-seriph": "^0.21.3"
"@slidev/cli": "^0.48.3",
"@slidev/theme-apple-basic": "^0.25.0",
"@slidev/theme-default": "^0.25.0",
"@slidev/theme-seriph": "^0.25.0"
},
"version": "0.0.0",
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions pages/create-the-pull-request.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ git show -p

This will show the commit with the included changes.

```git
```git-commit
commit ca82a6dff817ec66f44342007202690a93763949
Author: Scott Chacon <[email protected]>
Date: Mon Mar 17 21:52:11 2008 -0700
Expand Down Expand Up @@ -117,7 +117,7 @@ git push

Check the output for errors and open the link provided.

```git
```text
Enumerating objects: 5, done.
Counting objects: 100% (5/5), done.
Compressing objects: 100% (3/3), done.
Expand Down
2 changes: 1 addition & 1 deletion pages/do-the-change.md
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ git rebase -i main

Editor will load.

```git {all|1,14}
```git-rebase {all|1,14}
pick 1 feature1
pick 2 feature2
Expand Down
2 changes: 1 addition & 1 deletion pages/prepare-the-commit.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ git rebase -i main

Editor will load.

```git {all|2,10-11}
```git-rebase {all|2,10-11}
pick 1 feature1
pick 2 feature1_fix
Expand Down
Loading

0 comments on commit 9bce490

Please sign in to comment.