A useful tutorial can be assembled from small, movable blocks. Start with a short checklist:
Explain the goal before showing the steps.
Keep each action focused on one outcome.
Add a code sample only when it clarifies the idea.
A small JavaScript example
Read a value.
Transform it.
Return a result that is easy to verify.
function formatTitle(title) {
return title.trim().replace(/\s+/g, " ");
}The Notion-style controls can help insert, reorder, and manage these blocks; the persisted document remains standard content JSON rather than an editor-specific mode setting.