A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jrblevin/markdown-mode/issues/375 below:

markdown-edit-code-block incorrectly indents code in the indirect buffer · Issue #375 · jrblevin/markdown-mode · GitHub

Expected Behavior

If a GFM block itself is indented, C-c ' should not add indentation to the indirect buffer.

Actual Behavior

C-c ' adds indentation to such block.

Steps to Reproduce
  1. Create a test file such as

    $ cat /tmp/a.md 
    *   a
    
        ``` shell
        abc
        ```
    
  2. emacs -Q -l ../edit-indirect/edit-indirect.el -l markdown-mode.el /tmp/a.md
    
  3. move point into the code block

  4. C-c '

  5. Code block will be indented by 4 spaces in the indirect buffer

Software Versions

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4