Hello there,
Thank-you for mardown-mode!
Given this sample markdown file in Emacs (v25.1.1, macOS 10.12, mardown-mode 2.1):
Here follows a code sample:
#!/bin/bash
echo foobar
Nice sample, isn't it ?
When I run M-x indent-region
, the indentation of the code block disappears, turning it back to regular text, as follows:
Here follows a code sample:
#!/bin/bash
echo foobar
Nice sample, isn't it ?
In my case, I did remove my (add-hook 'before-save-hook 'reformat)
from my init file (reformat
is a function that invokes indent-region
), but I guess this is unexpected behavior.
Unless I miss something here?
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