diff --git a/CHANGELOG.md b/CHANGELOG.md index 9f6d1ada2..535cac2db 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 * Fix `index` to not generate empty module * Add dots to letter answers in `data-science` +* Add `BakeEmbeddedExerciseQuestion` for baking exercise-like things +* Bake ordered lists as embedded exercise questions in `computer-science` ## [v2.23.0] - 2024-09-09 diff --git a/lib/kitchen/directions/bake_embedded_exercise_question.rb b/lib/kitchen/directions/bake_embedded_exercise_question.rb new file mode 100644 index 000000000..63c15d187 --- /dev/null +++ b/lib/kitchen/directions/bake_embedded_exercise_question.rb @@ -0,0 +1,21 @@ +# frozen_string_literal: true + +module Kitchen + module Directions + module BakeEmbeddedExerciseQuestion + def self.v1(question:, number:, append_to:) + append_to.append(child: + <<~HTML +
On the Fahrenheit scale, the difference between the freezing and boiling points of water is 180 degrees. Thus, to convert Celsius degrees or Kelvins to Fahrenheit degrees, it is necessary to multiply by 180/100 = 9/5. To convert from Fahrenheit degrees to Celsius degrees or Kelvins, it is necessary to multiply by 100/180 = 5/9.
-