create new theme
This commit is contained in:
53
README.md
53
README.md
@ -1,11 +1,50 @@
|
||||
# Welcome to [Slidev](https://github.com/slidevjs/slidev)!
|
||||
# slidev-theme-autonomic-slidev-theme
|
||||
|
||||
To start the slide show:
|
||||
[](https://www.npmjs.com/package/slidev-theme-autonomic-slidev-theme)
|
||||
|
||||
- `pnpm install`
|
||||
- `pnpm dev`
|
||||
- visit <http://localhost:3030>
|
||||
A (...) theme for [Slidev](https://github.com/slidevjs/slidev).
|
||||
|
||||
Edit the [slides.md](./slides.md) to see the changes.
|
||||
<!--
|
||||
Learn more about how to write a theme:
|
||||
https://sli.dev/guide/write-theme.html
|
||||
--->
|
||||
|
||||
Learn more about Slidev at the [documentation](https://sli.dev/).
|
||||
<!--
|
||||
run `npm run dev` to check out the slides for more details of how to start writing a theme
|
||||
-->
|
||||
|
||||
<!--
|
||||
Put some screenshots here to demonstrate your theme
|
||||
|
||||
Live demo: [...]
|
||||
-->
|
||||
|
||||
## Install
|
||||
|
||||
Add the following frontmatter to your `slides.md`. Start Slidev then it will prompt you to install the theme automatically.
|
||||
|
||||
<pre><code>---
|
||||
theme: <b>autonomic-slidev-theme</b>
|
||||
---</code></pre>
|
||||
|
||||
Learn more about [how to use a theme](https://sli.dev/guide/theme-addon#use-theme).
|
||||
|
||||
## Layouts
|
||||
|
||||
This theme provides the following layouts:
|
||||
|
||||
> TODO:
|
||||
|
||||
## Components
|
||||
|
||||
This theme provides the following components:
|
||||
|
||||
> TODO:
|
||||
|
||||
## Contributing
|
||||
|
||||
- `npm install`
|
||||
- `npm run dev` to start theme preview of `example.md`
|
||||
- Edit the `example.md` and style to see the changes
|
||||
- `npm run export` to generate the preview PDF
|
||||
- `npm run screenshot` to generate the preview PNG
|
||||
|
Reference in New Issue
Block a user