Skip to content
Discussion options

You must be logged in to vote

Add preload: false to the frontmatter of the outline slides. Your '+0' and clicksStart values are fine: the mark is drawn, but at 0x0 size, because Slidev mounts the next slide in advance while it is hidden.

---
preload: false
---

# Outline

* <span v-mark="{ at: '+0', type: 'strike-through', animate: false }">first</span>
* <span v-mark="{ at: '+0', type: 'strike-through', animate: false }">second</span>
* <span v-mark.strike-through>third</span>
* <span v-mark.highlight.yellow.delay800="'+0'">fourth</span>

animate: false is optional, it just skips the drawing animation for the items that are already done. Your clicksStart variant also works once preload: false is added.

Why: SlidesShow…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Medamineelkhattabi
Comment options

@tbroyer
Comment options

Answer selected by tbroyer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants