Content Library
Author reusable sections and exercises once, then insert them into any course by reference. Edit a block and every course using it updates.
What it is
The content library is an org-scoped store of reusable content blocks — sections (heading + body + optional code) and graded exercises (prompt + objective + points). Blocks are organized into folders and tagged.
Use
- Create a block with the structured editor (no JSON) or describe it and let Prism write it.
- Insert a block into any course — it is stored as a reference, not a copy.
- Edit the block later; every course that references it reflects the change at read time (materialized on the learner, grade, and XP paths).
- Search by title and tags, pin featured blocks, and group into folders.
Setup
Admins open Admin → Content Library. Create a folder, then a block (section or exercise). Use the "Describe it — Prism will write it" box to draft content from a sentence.
Insert into a course from the block's Insert menu; it saves as a draft that you publish from the course editor.
Security
- All blocks are org-scoped: an admin can only read/write their own org's blocks.
- Block bodies are sanitized and guard-checked before storage.
- Deleting a block that is referenced by courses drops the reference at materialization time (never renders a broken stub); the UI warns how many courses are affected.
- References are kind-checked: a section slot only accepts section blocks, an exercise slot only exercise blocks.