Debian Codegraph @

demo/kitchen-sink/docs/astro.astro

raw
1 ---
2 const visible = true;
3 const name = "Legend Sabbir"
4 ---
5 {visible && <p>Show me!</p>}
6
7 {visible ? <p>Show me!</p> : <p>Else show me!</p>}
8
9 <h1>{name}</h1>