Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add addons #1895

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
70 changes: 70 additions & 0 deletions docs/.vitepress/addons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,76 @@ export const community: AddonInfo[] = [
},
repo: 'https://github.com/AlbertBrand/slidev-addon-tldraw',
},
{
id: 'slidev-addon-sync',
name: 'slidev-addon-sync',
description: 'Sync component for Slidev static build that uses a SSE or WS server',
author: {
name: 'Tony Cabaye',
link: 'https://github.com/tonai',
},
repo: 'https://github.com/Smile-SA/slidev-addon-sync',
},
{
id: 'slidev-component-pager',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might be better to have a components category then? What do you think @KermanX?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about adding some tags/keywords to each addon? For example, Component/Intergration/Tool

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to add some context, the first add-ons I created were named slidev-component-* because I was working on them before we released the add-on feature in Slidev (released with v0.32 on May 20th).
The name "addon" was not official at that time, so I chose "component" and was too lazy to change the name later.
But yes, it can still be interesting to have tags 👍

name: 'slidev-component-pager',
description: 'Show current page and total page number',
author: {
name: 'Tony Cabaye',
link: 'https://github.com/tonai',
},
repo: 'https://github.com/Smile-SA/slidev-component-pager',
},
{
id: 'slidev-component-poll',
name: 'slidev-component-poll',
description: 'Poll and Quiz components for Slidev',
author: {
name: 'Tony Cabaye',
link: 'https://github.com/tonai',
},
repo: 'https://github.com/Smile-SA/slidev-component-poll',
},
{
id: 'slidev-component-progress',
name: 'slidev-component-progress',
description: 'Show interactive progress bar for Slidev',
author: {
name: 'Tony Cabaye',
link: 'https://github.com/tonai',
},
repo: 'https://github.com/Smile-SA/slidev-component-progress',
},
{
id: 'slidev-component-scroll',
name: 'slidev-component-scroll',
description: 'Use mouse wheel for navigating',
author: {
name: 'Tony Cabaye',
link: 'https://github.com/tonai',
},
repo: 'https://github.com/Smile-SA/slidev-component-scroll',
},
{
id: 'slidev-component-spotlight',
name: 'slidev-component-spotlight',
description: 'Activate a spotlight to highlight a specific region by holding a key',
author: {
name: 'Tony Cabaye',
link: 'https://github.com/tonai',
},
repo: 'https://github.com/Smile-SA/slidev-component-spotlight',
},
{
id: 'slidev-component-zoom',
name: 'slidev-component-zoom',
description: 'Allow zooming inside the slides',
author: {
name: 'Tony Cabaye',
link: 'https://github.com/tonai',
},
repo: 'https://github.com/Smile-SA/slidev-component-zoom',
},
// Add yours here!
{
id: '',
Expand Down
Loading