📖 Dictionary Reference Example
Cool interactive definitions! ✨
📖 Dictionary Reference Example
This page demonstrates the dictionary reference feature using double brackets.
How It Works
When you write a word in double brackets like , it will become an interactive term that shows a definition when you hover over it.
You can also use custom display text with the pipe syntax: displays "First Tech Challenge" but uses the "ftc" dictionary entry.
Examples
Here are some examples:
- A is used for precise angular control
- is a robotics competition for middle and high school students
- The is great for learning robotics
- During , the robot operates without driver input
- is when drivers control the robot
- A converts electrical energy to motion
- controllers help with precise movement
- helps track robot position
- devices detect environmental inputs
Custom Display Text
You can display different text while still using the dictionary definition:
- The is essential for smooth motion
- We use and in our robot
- The comes after autonomous
Undefined Terms
If you reference a term that's not in the dictionary, like [[undefined-term]], it will just display in brackets without the interactive tooltip.
Add More Terms
You can add more dictionary entries in src/lib/dictionary.ts.