Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion preproc/src/admonitions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ struct AdmonitionsGenerator<'a, Iter: Iterator<Item = Event<'a>>> {
}

impl<'a, Iter: Iterator<Item = Event<'a>>> 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 {
Expand Down
11 changes: 11 additions & 0 deletions src/part1/hello_world.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we have the solutions as well already provided? Maybe in a commented box


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
```

:::