(Issue Resolved) Code within Numbered List does not display properly
-
Example:
-
This numbered list item
/has some code indented by 4 spaces/
\2. This non-list item
/* has some code indented by 4 spaces */
Post Source Code:
Example: 1. This numbered list item /*has some code indented by 4 spaces*/ \2. This non-list item /* has some code indented by 4 spaces */
Explanation:
I would have expected that I would be able to include indented code blocks within a numbered list, but that doesn't work properly.Sidenote
Do I post this bug on this sub-forum, or do I use a bug reporter tool. Because the only one I know of is the vivaldi browser bug reporter. -
-
@lonm Hi.
You have to indent block codes by 8 spaces inside a list.
-
Numbered list item
has some code indented by 8 spaces
-
Numbered list item
-
-
@hlehyaric Ah, thank you very much.
-
@lonm You're welcome. Glad to help you.
-
Using " ``` ", you have to indent the three lines (in the example below) by 3 spaces.
- Ordered list item
code block
- Ordered list item
If you don't, you get this:
- Ordered list item
code block
- Ordered list item
- Ordered list item