Esc

COMARK0304 · warning

comark/carousel/unresolved-binding

Bind :zoom and :title to the document or its frontmatter

Each slide takes the carousel's zoom and title while the document is parsed. A :zoom or :title bound to a frontmatter key that doesn't exist, or to data and props that only arrive when it renders, gives the slides nothing, so the carousel has no title and keeps its zoom.

Incorrect

---
pond: North pond
---

::carousel{:title="frontmatter.pound"}
Two ducks nest by the reeds.

The pigeons left at noon.
::
md
lint-comark example.mdexample.md:5:1 comark/carousel/unresolved-bindingcarousel 1: :title points at frontmatter.pound, which is undefined.Fix the path or set title directly.✖ 1 problem

Correct

---
pond: North pond
---

::carousel{:title="frontmatter.pond"}
Two ducks nest by the reeds.

The pigeons left at noon.
::
md
lint-comark example.md✔ No problems