Skip to Content
Edit on GitHub

Blocks

The LearnHouse editor supports a wide range of block types for building rich course content. You can insert any block by typing / and selecting from the menu.

Text Blocks

  • ParagraphStandard body text with full inline formatting support.
  • Heading 1Top-level heading for major sections.
  • Heading 2Second-level heading for subsections.
  • Heading 3Third-level heading for smaller sections.
  • Heading 4Fourth-level heading.
  • Heading 5Fifth-level heading.
  • Heading 6Sixth-level heading.
  • Bullet ListUnordered list for grouping items.
  • Numbered ListOrdered list for sequential items.
  • Code BlockSyntax-highlighted code with language selection.

Media Blocks

  • ImageUpload images or insert by URL.
  • VideoUpload video files or embed from YouTube and other sources.
  • AudioUpload or embed audio content.
  • PDFEmbed PDF documents with a built-in viewer.
  • EmbedEmbed external content via URL (iframes).
  • Web PreviewPreview a web page with metadata.

Interactive Blocks

  • QuizInteractive quiz with questions to test understanding.
  • Code PlaygroundRunnable code with test cases and execution.
  • Magic BlockAI-generated interactive content.
  • Math EquationRender mathematical notation using LaTeX syntax.
  • Flip CardFlashcard for learning and memorization.
  • ScenariosInteractive branching scenarios with choices.

UI Blocks

  • Callout InfoInformation callout box for tips and notes.
  • Callout WarningWarning callout box for important alerts.
  • BadgeStyled badge or label element.
  • TableResizable tables for structured data.
  • DividerHorizontal rule to visually separate sections.

Using Blocks

Each block can be individually moved, duplicated, or deleted. Click the handle on the left side of a block to drag it to a new position, or use the block menu for additional options.