Code Blocks Nested in Ordered List, code block inside ordered or unordered list (bullet point, numbered list)

Code Blocks Nested in Ordered List | Code block inside ordered or unordered list (bullet point, numbered list)

2025-01-04T18:30:00Z

  1. first create bullet poin lests say example
  2. then press enter
  3. remove the bullet point by pressing backspace
  4. then remove the - (dash) also
  5. the paste your code using ```
  6. this wont break ur list

go to next line by pressing enter

remove the bullet dot and dash

add ```

like this

I guess I don’t understand the main problem, but this also works without deleting anything. Just after first Enter, you hit it once again, insert the code, and after it, start again with a dash (-) or continued number.

image

But as I said - guess don’t understand main problem :slight_smile:

Cheers, Marko :nerd_face: