diff options
-rw-r--r-- | src/tour.gleam | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tour.gleam b/src/tour.gleam index cf5679f..9dabc58 100644 --- a/src/tour.gleam +++ b/src/tour.gleam @@ -531,7 +531,7 @@ fn everything_chapter_lesson_html(lesson: Lesson, index: Int, end_index: Int) { h("article", [#("class", "lesson"), #("id", slugify_path(lesson.path))], [ h("h2", [#("class", "lesson-title")], [text(lesson.name)]), htmb.dangerous_unescaped_fragment(string_builder.from_string(lesson.text)), - h("pre", [#("class", "lesson-snippet dim-bg")], [ + h("pre", [#("class", "lesson-snippet")], [ h("code", [], [text(lesson.code)]), h( "a", @@ -543,7 +543,7 @@ fn everything_chapter_lesson_html(lesson: Lesson, index: Int, end_index: Int) { ], [ h("i", [#("class", "snippet-link-icon")], [text("</>")]), - text("Run"), + text("Run code snippet"), ], ), ]), |