slidev icon indicating copy to clipboard operation
slidev copied to clipboard

Foot note for a list item shows up before it is supposed to

Open SathyaBhat opened this issue 4 years ago • 3 comments

Is your feature request related to a problem? Please describe.

I've a list and a footnote on a list item, and I can't see to figure out a way to hide the footnote till the actual item comes up.

The slide content looks like:

<v-clicks>

- Cloud Development Kit
- Define cloud resources using code
- Not a DSL, same language that you might be familiar with
- CDK Supports:
  - TypeScript
  - JavaScript
  - Python
  - .net
  - Go [^dev]

</v-clicks>

[^dev]: in developer preview

This is what I see:

image

In this case, the "in developer preview should not have been shown.

Describe the solution you'd like

The footnote should be shown till the corresponding list item is shown.

Describe alternatives you've considered

I tried applying v-after but doesn't seem to work.

SathyaBhat avatar Nov 13 '21 14:11 SathyaBhat

IIRC you can do:

---
clicks: 7
---

<v-clicks at="3">

...

</v-clicks>

the list will start showing after you click 3 times.

You can refer to my slides: https://github.com/antfu/talks/tree/master/2021-10-20

antfu avatar Nov 14 '21 07:11 antfu

Yeah, the problem is that the footnote is shown immediately on slide load and using <v-clicks at="3"> doesn't show the specific list item till click 3 but the footnote is shown all times

SathyaBhat avatar Feb 21 '22 20:02 SathyaBhat

I updated the issue to highlight the problem, sorry to have gotten it wrong.

SathyaBhat avatar Feb 21 '22 21:02 SathyaBhat

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Sep 14 '22 17:09 stale[bot]