From eefd43106d2401bdd12e835f2b744a464354f2c6 Mon Sep 17 00:00:00 2001 From: Stephen Mutheu Muya Date: Sat, 7 Jun 2025 10:33:08 +0300 Subject: [PATCH] fix(curriculum): change plaintext blocks from bash to markdown (#60754) --- .../5f3c866d5414453fc2d7b480.md | 2 +- .../5f716bee5838c354c728a7c5.md | 2 +- .../learn-arrays-and-loops-lesson-f.md | 8 ++++---- ...rn-to-solve-problems-and-understand-errors-lesson-c.md | 2 +- .../luhn-test-of-credit-card-numbers.md | 2 +- .../rosetta-code-challenges/lychrel-numbers.md | 6 +++--- .../workshop-cafe-menu/5f3c866d5414453fc2d7b480.md | 2 +- .../workshop-cafe-menu/5f716bee5838c354c728a7c5.md | 2 +- 8 files changed, 13 insertions(+), 13 deletions(-) diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f3c866d5414453fc2d7b480.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f3c866d5414453fc2d7b480.md index 31c95ad81bc..d1d800797b1 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f3c866d5414453fc2d7b480.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f3c866d5414453fc2d7b480.md @@ -9,7 +9,7 @@ dashedName: step-31 Starting below the existing coffee/price pair, add the following coffee and prices using `article` elements with two nested `p` elements inside each: -```bash +```md Caramel Macchiato 3.75 Pumpkin Spice 3.50 Hazelnut 4.00 diff --git a/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f716bee5838c354c728a7c5.md b/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f716bee5838c354c728a7c5.md index 164f7feead0..11abd0d0055 100644 --- a/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f716bee5838c354c728a7c5.md +++ b/curriculum/challenges/english/14-responsive-web-design-22/learn-basic-css-by-building-a-cafe-menu/5f716bee5838c354c728a7c5.md @@ -9,7 +9,7 @@ dashedName: step-52 Below the dessert you just added, add the rest of the desserts and prices using three more `article` elements, each with two nested `p` elements. Each element should have the correct dessert and price text, and all of them should have the correct classes. -```bash +```md Cherry Pie 2.75 Cheesecake 3.00 Cinnamon Roll 2.50 diff --git a/curriculum/challenges/english/16-the-odin-project/top-learn-arrays-and-loops/learn-arrays-and-loops-lesson-f.md b/curriculum/challenges/english/16-the-odin-project/top-learn-arrays-and-loops/learn-arrays-and-loops-lesson-f.md index 3b09e01ce56..28c83b8c526 100644 --- a/curriculum/challenges/english/16-the-odin-project/top-learn-arrays-and-loops/learn-arrays-and-loops-lesson-f.md +++ b/curriculum/challenges/english/16-the-odin-project/top-learn-arrays-and-loops/learn-arrays-and-loops-lesson-f.md @@ -46,7 +46,7 @@ for (let i = 1; i < items.length; i++) { ## --answers-- -```bash +```md apple banana cherry @@ -55,14 +55,14 @@ date --- -```bash +```md banana cherry ``` --- -```bash +```md apple banana cherry @@ -70,7 +70,7 @@ cherry --- -```bash +```md banana cherry date diff --git a/curriculum/challenges/english/16-the-odin-project/top-learn-to-solve-problems-and-understand-errors/learn-to-solve-problems-and-understand-errors-lesson-c.md b/curriculum/challenges/english/16-the-odin-project/top-learn-to-solve-problems-and-understand-errors/learn-to-solve-problems-and-understand-errors-lesson-c.md index 0b0fadaa208..14d5c40fe6f 100644 --- a/curriculum/challenges/english/16-the-odin-project/top-learn-to-solve-problems-and-understand-errors/learn-to-solve-problems-and-understand-errors-lesson-c.md +++ b/curriculum/challenges/english/16-the-odin-project/top-learn-to-solve-problems-and-understand-errors/learn-to-solve-problems-and-understand-errors-lesson-c.md @@ -13,7 +13,7 @@ Pseudocode is writing out the logic for your program in natural language instead Here’s an example of what the pseudocode for a program that prints all numbers up to an inputted number might look like: -```bash +```md When the user inputs a number Initialize a counter variable and set its value to zero While counter is smaller than user inputted number increment the counter by one diff --git a/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/luhn-test-of-credit-card-numbers.md b/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/luhn-test-of-credit-card-numbers.md index 596dfd62879..efb773fae30 100644 --- a/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/luhn-test-of-credit-card-numbers.md +++ b/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/luhn-test-of-credit-card-numbers.md @@ -25,7 +25,7 @@ Those companies using credit card numbers that can be validated by the Luhn test For example, if the trial number is 49927398716: -```bash +```md Reverse the digits: 61789372994 Sum the odd digits: diff --git a/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/lychrel-numbers.md b/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/lychrel-numbers.md index be2d4482f9f..e7fa06358d8 100644 --- a/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/lychrel-numbers.md +++ b/curriculum/challenges/english/22-rosetta-code/rosetta-code-challenges/lychrel-numbers.md @@ -18,14 +18,14 @@ The above recurrence relation when applied to most starting numbers `n` = 1, 2, For example if `n₀` = 12 we get: -```bash +```md 12 12 + 21 = 33, a palindrome! ``` And if `n₀` = 55 we get: -```bash +```md 55 55 + 55 = 110 110 + 011 = 121, a palindrome! @@ -43,7 +43,7 @@ Any integer produced in the sequence of a Lychrel number is also a Lychrel numbe In general, any sequence from one Lychrel number *might* converge to join the sequence from a prior Lychrel number candidate; for example the sequences for the numbers 196 and then 689 begin: -```bash +```md 196 196 + 691 = 887 887 + 788 = 1675 diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f3c866d5414453fc2d7b480.md b/curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f3c866d5414453fc2d7b480.md index ae30adebea4..909a2ae43c5 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f3c866d5414453fc2d7b480.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f3c866d5414453fc2d7b480.md @@ -9,7 +9,7 @@ dashedName: step-31 Starting below the existing coffee/price pair, add the following coffee and prices using `article` elements with two nested `p` elements inside each. -```bash +```md Caramel Macchiato 3.75 Pumpkin Spice 3.50 Hazelnut 4.00 diff --git a/curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f716bee5838c354c728a7c5.md b/curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f716bee5838c354c728a7c5.md index b5ee7ccbd4f..f7011227571 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f716bee5838c354c728a7c5.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-cafe-menu/5f716bee5838c354c728a7c5.md @@ -9,7 +9,7 @@ dashedName: step-52 Below the dessert you just added, add the rest of the desserts and prices using three more `article` elements, each with two nested `p` elements. Each element should have the correct dessert and price text, and all of them should have the correct classes. -```bash +```md Cherry Pie 2.75 Cheesecake 3.00 Cinnamon Roll 2.50