pymarkdown icon indicating copy to clipboard operation
pymarkdown copied to clipboard

Indent issue with md031 fix

Open jackdewinter opened this issue 6 months ago • 0 comments

Prerequisites

  • [x] Are you running the latest version of this application?
  • [x] Have you checked the Frequently Asked Questions document?
  • [x] Have you simplified the bug report to the essential details?
    • [x] Do you have a distinct command line to report?
    • [x] Can you clearly state the configuration for this bug report?
    • [x] Do you have a minimal document that highlights this bug?
    • [x] Are any required files (configuration or Markdown document) attached to the issue?
  • [x] Did you perform a cursory search of other issues to look for related issues?

Bug Report

Bug Type

  • [x] Fix/Rule not working as expected

Description

Indent of for fixed markdown.

Specifics

What operating system and version are you running into this behavior on?

Win11

What version are you seeing this behavior in? (Run pip list or pipenv run pip list and look for the entry beside pymarkdownlnt.)

latest,main

Are there any extra steps that need to be taken before executing the application?

No

What is the command line you invoke to get this behavior?

bad_fenced_block_in_list_in_block_quote_in_list_with_previous_block

Are you using a configuration file? Either on the command line or one of the implicit configuration files? If so, attach that file to this issue.

No

What Markdown document causes this behavior to manifest? Attach that file to this issue.

1. > + ----
   >   > block 1
   >   > block 2
   >   ```block
   >   A code block
   >   ```
   >   ----

Actual Behavior

1. > + ----
    >   > block 1
    >   > block 2
    >{space}
    >  ```block
    >   A code block
    >   ```
    >{space}
    >  ----
    > 
   >{space}

Expected Behavior

1. > + ----
   >   > block 1
   >   > block 2
   >
   >   ```block
   >   A code block
   >   ```
   >
   >   ----

jackdewinter avatar Sep 02 '24 16:09 jackdewinter