Add visual content to enhance your questions
Visual content significantly improves learning outcomes. BlitzGrok supports multiple ways to add diagrams and images to your questions:
Best for: Static images, illustrations, pre-made diagrams
How to use:
diagram.svg
Best for: Simple shapes, custom graphics, embedded content
How to use:
<svg<svg width="200" height="100">...</svg>
Best for: Dynamic diagrams, variable-based visuals, complex layouts
How to use:
{
"width": 400,
"height": 300,
"elements": [...]
}
Best for: Complex generation logic, programmatic creation
How to use:
module.function_name
The power of diagrams in BlitzGrok is their ability to use question variables. This means your diagrams can change based on the question instance.
Question Variables:
length = randint(5, 15)
BlitzDiagrams JSON:
{
"width": 400,
"height": 200,
"elements": [
{
"type": "line",
"x1": 50,
"y1": 100,
"x2": "50 + length * 20",
"y2": 100,
"label": "{length} units"
}
]
}
The Resources section in your vendor dashboard allows you to:
Access resources from your vendor workspace to start building your visual content library.
We're here to assist