-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add new command to create scaffold by scaffdog * doc: write documentation for 'npm run new' * chore: add newline in the end of file
- Loading branch information
Showing
5 changed files
with
2,423 additions
and
18 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export default { | ||
files: ['*'], | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,56 @@ | ||
--- | ||
name: 'new_slide' | ||
root: '.' | ||
output: '.' | ||
questions: | ||
name: 'Please enter a name of directory for slide:' | ||
--- | ||
|
||
# `{{ inputs.name }}`/slides.md | ||
|
||
```md | ||
--- | ||
theme: seriph | ||
background: https://source.unsplash.com/collection/94734566/1920x1080 | ||
class: text-center | ||
highlighter: shiki | ||
info: | | ||
## {{ inputs.name }} | ||
Presentation slides for {{ inputs.name }}. | ||
transition: slide-left | ||
title: {{ inputs.name }} | ||
mdc: true | ||
githubPages: | ||
ogp: true | ||
--- | ||
|
||
# Welcome to Slidev | ||
|
||
Presentation slides for developers | ||
|
||
<div class="pt-12"> | ||
<span @click="$slidev.nav.next" class="px-2 py-1 rounded cursor-pointer" hover="bg-white bg-opacity-10"> | ||
Press Space for next page <carbon:arrow-right class="inline"/> | ||
</span> | ||
</div> | ||
|
||
<div class="abs-br m-6 flex gap-2"> | ||
<button @click="$slidev.nav.openInEditor()" title="Open in Editor" class="text-xl slidev-icon-btn opacity-50 !border-none !hover:text-white"> | ||
<carbon:edit /> | ||
</button> | ||
<a href="https://github.com/slidevjs/slidev" target="_blank" alt="GitHub" title="Open in GitHub" | ||
class="text-xl slidev-icon-btn opacity-50 !border-none !hover:text-white"> | ||
<carbon-logo-github /> | ||
</a> | ||
</div> | ||
|
||
<!-- | ||
The last comment block of each slide will be treated as slide notes. It will be visible and editable in Presenter Mode along with the slide. [Read more in the docs](https://sli.dev/guide/syntax.html#notes) | ||
--> | ||
``` | ||
|
||
|
||
# `{{ inputs.name }}`/public/.gitkeep | ||
|
||
``` | ||
``` |
Oops, something went wrong.