This is an example of how to do ordered lists with code blocks and example of how not to do ordered lists with code blocks.
-
This is an ordered list's first element.
-
This is the second element and, despite starting with a 1, will be numbered 2.
echo "This is a code block that is part of the second element."
-
This is the third element, numbered 3.
- This is an ordered list's first element.
- This is the second element and, despite starting with a 1, will be numbered 2.
echo "This is a code block that is part of the second element."
- This should be the third element, numbered 3 but is instead numbered 1.