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

Enhancement: Integration with Marp #6

Open
svrooij opened this issue Nov 2, 2024 · 2 comments
Open

Enhancement: Integration with Marp #6

svrooij opened this issue Nov 2, 2024 · 2 comments

Comments

@svrooij
Copy link

svrooij commented Nov 2, 2024

I think Demo time would be an awesome combination with Marp it allows you to create pretty good looking slides in markdown and being able to switch between slides and code with demo time would be so cool.

Just throwing this idea out there, will try to do this without an integration but how cool would it be if you could say Show slide x from someFile.md in Demo Time. Then we would no longer have to leave VSCode ever.

@estruyf
Copy link
Owner

estruyf commented Nov 2, 2024

Hi @svrooij, thanks for the suggestion. I'm a big fan of Slidev, very similar to Marp.

In last presentation, I've created a component which could trigger a demo by its id from Slidev.

I also open the slides from the Demo Time panel. Check out: https://github.com/estruyf/presentation-m365-playwright-github-actions/tree/start

I still have to share the Slidev component.

@estruyf
Copy link
Owner

estruyf commented Nov 3, 2024

For slidev I created a component that can trigger like this:

<vscode-action
    click="1"
    port="37105"
    command="demo-time.runById"
    args="1.recap.show_web_part" />

The port is used to listen to the commands on the websocket. Using my remote control extension for this one: https://marketplace.visualstudio.com/items?itemName=eliostruyf.vscode-remote-control

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants