diff --git a/css/custom.css b/css/custom.css index 729cd711..9adc9901 100644 --- a/css/custom.css +++ b/css/custom.css @@ -25,6 +25,11 @@ background-color: var(--quote-bg); } +.box.assessment { + border-color: #3B9797; + background-color: var(--quote-bg); +} + .box.warning { border-left-color: #e7c000; background-color: rgba(255, 229, 100, .2); diff --git a/preproc/src/admonitions.rs b/preproc/src/admonitions.rs index 6c572ea7..7733895e 100644 --- a/preproc/src/admonitions.rs +++ b/preproc/src/admonitions.rs @@ -38,7 +38,7 @@ struct AdmonitionsGenerator<'a, Iter: Iterator>> { } impl<'a, Iter: Iterator>> AdmonitionsGenerator<'a, Iter> { - const KINDS: [&'static str; 3] = ["tip", "warning", "danger"]; + const KINDS: [&'static str; 4] = ["tip","assessment", "warning", "danger"]; fn new(iter: Iter) -> Self { Self { diff --git a/src/part1/hello_world.md b/src/part1/hello_world.md index 8f26fae2..53043a3b 100644 --- a/src/part1/hello_world.md +++ b/src/part1/hello_world.md @@ -65,3 +65,14 @@ You could also take a flash cart (I use the [EverDrive GB X5](https://krikzz.com ![Picture of the Hello World running on a physical DMG](../assets/img/hello_dmg.jpg) Well, now that we have something working, it's time to peel back the curtains... + +:::assessment Chapter Milestone + +1.1 Given the following compilation commands, could you find the issue? +```console +$ rgbasm -o hello-world.o hello-world.asm +$ rgblink hello-world.o +$ rgbfix -v 0xFF hello-world.gb +``` + +:::