Skip to content

Bug report: Markdown output is not formatted well in console #4541

@milanholemans

Description

@milanholemans

Description

When printing a help page in the console, I noticed that the Markdown section is not well formatted.

image

As you can see, everything after the title is indented while this shouldn't be the case.

Steps to reproduce

Run any command which has a markdown docs response and append -h

Example: m365 planner bucket list -h

Expected results

The markdown response should not have indents and be printed like all other responses.

Actual results

Title is printed properly, the rest has indents.

Diagnostics

No response

CLI for Microsoft 365 version

v6.3.0

nodejs version

v16.18.1

Operating system (environment)

Windows

Shell

PowerShell

cli doctor

No response

Additional Info

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions