Skip to content

Padding matters #1065

@ccoVeille

Description

@ccoVeille

Describe the bug

Padding can be used in markdown files.

Config and version

Any

To Reproduce

- one item

    Some note about this item. Here is an example

   ```go
   var expired bool
   ```

- a second one

   Some comment

It gets rendered like that

  • one item

    Some note about this item. Here is an example

    var expired bool
  • a second one

    Some comment

Expected behavior

The tool reports an issue with the formatting, while the code is fine

It wants this

- one item

    Some note about this item. Here is an example

```go
var expired bool
```

- a second one

   Some comment

But then, it's not rendered the same way

  • one item

    Some note about this item. Here is an example

var expired bool
  • a second one

    Some comment

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions