Skip to content

Instantly share code, notes, and snippets.

@hattesen
Last active October 13, 2023 13:30
Show Gist options
  • Select an option

  • Save hattesen/b087cf1b87b917012fbeed5a193e67c1 to your computer and use it in GitHub Desktop.

Select an option

Save hattesen/b087cf1b87b917012fbeed5a193e67c1 to your computer and use it in GitHub Desktop.

Revisions

  1. hattesen revised this gist Oct 13, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions NestedLists.md
    Original file line number Diff line number Diff line change
    @@ -26,7 +26,7 @@ This markdown ...
    - Five
    - Six this line is colored RED in GitHub Web Editor

    ... but looks like this in the Github Web Editor ...
    ... but is syntax highlighed as an error (red color) in the Github Web Editor ...

    > <img width="461" alt="image" src="https://user-images.githubusercontent.com/3527219/274910871-acfd5bd7-6e1b-4ad0-85b4-c7f9334f770c.png">
    @@ -54,7 +54,7 @@ This markdown ...
    1. Five
    1. Six this line is colored RED in GitHub Web Editor

    ... but looks like this in Github Web Editor ...
    ... but is syntax highlighed as an error (red color) in the Github Web Editor ...

    > <img width="506" alt="image" src="https://user-images.githubusercontent.com/3527219/274910947-8c8bd24f-eced-4242-ba7e-f2eff07fdb43.png">
  2. hattesen revised this gist Oct 13, 2023. 1 changed file with 3 additions and 2 deletions.
    5 changes: 3 additions & 2 deletions NestedLists.md
    Original file line number Diff line number Diff line change
    @@ -28,7 +28,7 @@ This markdown ...

    ... but looks like this in the Github Web Editor ...

    > <img width="556" alt="image" src="https://user-images.githubusercontent.com/3527219/274904977-bdf9eef7-3184-4593-a55b-2048cce48fdd.png">
    > <img width="461" alt="image" src="https://user-images.githubusercontent.com/3527219/274910871-acfd5bd7-6e1b-4ad0-85b4-c7f9334f770c.png">
    # Ordered Nested List

    @@ -56,5 +56,6 @@ This markdown ...

    ... but looks like this in Github Web Editor ...

    > <img width="609" alt="image" src="https://user-images.githubusercontent.com/3527219/274905730-ffc1ec43-c85c-49bf-9a8c-f4c27eb8eaa9.png">
    > <img width="506" alt="image" src="https://user-images.githubusercontent.com/3527219/274910947-8c8bd24f-eced-4242-ba7e-f2eff07fdb43.png">

  3. hattesen revised this gist Oct 13, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions NestedLists.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    Github Markdown Syntax reference [Nested Lists](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#nested-lists)
    # GitHub Web Editor Syntax Hilghlighting Bug in Nested Lists

    The nested lists below are entered as per the Markdown formatting syntax in [Nested Lists](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#nested-lists) but in the GitHub Web Editor list entries with levels three and six are colored RED, indicating a syntax error.
    The nested lists below are entered as per the Markdown formatting syntax in [Nested Lists](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#nested-lists) but in the GitHub Web Editor list entries with levels 3 and 6 are colored RED, indicating a syntax error.

    # Unordered Nested List

  4. hattesen revised this gist Oct 13, 2023. 1 changed file with 23 additions and 35 deletions.
    58 changes: 23 additions & 35 deletions NestedLists.md
    Original file line number Diff line number Diff line change
    @@ -1,51 +1,34 @@
    Github Markdown Syntax [Nested Lists](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#nested-lists)
    Github Markdown Syntax reference [Nested Lists](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#nested-lists)

    The nested lists below are entered as per the Markdown formatting syntax in [Nested Lists](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#nested-lists) but in the GitHub Web Editor list entries with levels three and six are colored RED, indicating a syntax error.

    # Unordered Nested List

    This markdown ...

    ```markdown
    - One
    - Two
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    :exclamation: Continuation line also colored RED
    - Three this line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor
    - Six this line is colored RED in GitHub Web Editor
    ```

    ... is rendered as ...

    - One
    - Two
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    :exclamation: Continuation line also colored RED
    - Three this line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor

    # Ordered + Unordered Nested List

    This markdown ...

    ```markdown
    1. One
    - Two
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor
    ```
    - Six this line is colored RED in GitHub Web Editor

    ... is rendered as ...
    ... but looks like this in the Github Web Editor ...

    1. One
    - Two
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor
    > <img width="556" alt="image" src="https://user-images.githubusercontent.com/3527219/274904977-bdf9eef7-3184-4593-a55b-2048cce48fdd.png">
    # Ordered Nested List

    @@ -54,19 +37,24 @@ This markdown ...
    ```markdown
    1. One
    1. Two
    1. Three :exclamation: This line is colored RED in GitHub Web Editor.
    :exclamation: Continuation line also colored RED
    1. Three this line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    1. Four
    1. Five
    1. Six :exclamation: This line is colored RED in GitHub Web Editor
    1. Six this line is colored RED in GitHub Web Editor
    ```

    ... is rendered as ...

    1. One
    1. Two
    1. Three :exclamation: This line is colored RED in GitHub Web Editor.
    :exclamation: Continuation line also colored RED
    1. Three this line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    1. Four
    1. Five
    1. Six :exclamation: This line is colored RED in GitHub Web Editor
    1. Six this line is colored RED in GitHub Web Editor

    ... but looks like this in Github Web Editor ...

    > <img width="609" alt="image" src="https://user-images.githubusercontent.com/3527219/274905730-ffc1ec43-c85c-49bf-9a8c-f4c27eb8eaa9.png">
  5. hattesen revised this gist Oct 13, 2023. 1 changed file with 13 additions and 16 deletions.
    29 changes: 13 additions & 16 deletions NestedLists.md
    Original file line number Diff line number Diff line change
    @@ -7,7 +7,7 @@ This markdown ...
    - One
    - Two
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    :exclamation: Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor
    @@ -17,13 +17,12 @@ This markdown ...

    - One
    - Two
    - Three. :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    :exclamation: Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor


    # Ordered + Unordered Nested List

    This markdown ...
    @@ -48,28 +47,26 @@ This markdown ...
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor


    # Ordered Nested List

    This markdown ...

    ```markdown
    1. One
    1. Two
    1. Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    1. Four
    1. Five
    1. Six :exclamation: This line is colored RED in GitHub Web Editor
    1. Three :exclamation: This line is colored RED in GitHub Web Editor.
    :exclamation: Continuation line also colored RED
    1. Four
    1. Five
    1. Six :exclamation: This line is colored RED in GitHub Web Editor
    ```

    ... is rendered as ...

    1. One
    1. Two
    1. Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    1. Four
    1. Five
    1. Six :exclamation: This line is colored RED in GitHub Web Editor

    1. Three :exclamation: This line is colored RED in GitHub Web Editor.
    :exclamation: Continuation line also colored RED
    1. Four
    1. Five
    1. Six :exclamation: This line is colored RED in GitHub Web Editor
  6. hattesen created this gist Oct 13, 2023.
    75 changes: 75 additions & 0 deletions NestedLists.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,75 @@
    Github Markdown Syntax [Nested Lists](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#nested-lists)

    # Unordered Nested List

    This markdown ...
    ```markdown
    - One
    - Two
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor
    ```

    ... is rendered as ...

    - One
    - Two
    - Three. :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor


    # Ordered + Unordered Nested List

    This markdown ...

    ```markdown
    1. One
    - Two
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor
    ```

    ... is rendered as ...

    1. One
    - Two
    - Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    - Four
    - Five
    - Six :exclamation: This line is colored RED in GitHub Web Editor


    # Ordered Nested List

    This markdown ...

    ```markdown
    1. One
    1. Two
    1. Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    1. Four
    1. Five
    1. Six :exclamation: This line is colored RED in GitHub Web Editor
    ```

    ... is rendered as ...

    1. One
    1. Two
    1. Three :exclamation: This line is colored RED in GitHub Web Editor.
    Continuation line also colored RED
    1. Four
    1. Five
    1. Six :exclamation: This line is colored RED in GitHub Web Editor