Skip to content

Numbers for numbered list items are incorrect when the list starts with a number > 1 #390

@TamiTakamiya

Description

@TamiTakamiya

When the following response formatted in markdown is received from a chatbot service:

=== (from here)===

To create a "Hello, World!" playbook, follow these steps:

  1. Open the Ansible VS Code extension and create a new file named hello_world.yaml.
  2. In the file, write the following content:
- name: Hello World Playbook
  hosts: localhost
  tasks:
    - name: Print Hello World
      ansible.builtin.debug:
        msg: "Hello, World!"
  1. Save the file.

  2. To run the playbook, use the following command in your terminal or command prompt:

    ansible-playbook hello_world.yaml
    

    The output should display "OK" for each task, indicating that the playbook ran successfully and printed "Hello, World!".

=== (from here)===

the numbered list in the response is rendered like:

Image

That the first two item are numbered correctly, but the last two items are rendered as items 1 and 2 instead of items 3 and 4. They should be rendered as items 3 and 4 (note that Github can render them correctly).

Metadata

Metadata

Assignees

Labels

PF6Applies to only the PF6 version

Type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions