General help with sugarcube

I’m pretty new to coding, and I learned with javascript. How do I actually enter code using the sugarcube system? should i use “<< >>” “[[ ]]” “{{ }}” or what? I’ve been trying to simply look it up but for whatever reason I can’t find any real results.

Check out the SugarCube documentation if you haven’t already found that…

Twine links use [[passage name]] (or [[visible text|passage name]])

SugarCube macros use <<macro blah blah blah>>

Hope that helps…