Quiz Inline Demo
Introduction
This demonstrates how to embed quiz questions directly in your livebook markdown using the marker. ## Setup ```elixir Mix.install([{:kino, "~> 0.17.0"}]) ``` ```elixir Code.require_file("quiz.ex", __DIR__) ``` ## BEAM Basics Quiz ## Render First Quiz ```elixir Quiz.render_from_file(__DIR__ <> "/quiz-inline-demo.livemd", quiz: 1) ``` ## OTP Quiz ## Render Second Quiz ```elixir Quiz.render_from_file(__DIR__ <> "/quiz-inline-demo.livemd", quiz: 2) ``` ## Summary * [ ] Hej * [ ] PÅ The quiz system automatically extracts all sections from the current livebook file and renders them as interactive quizzes!