pleh2
pleh2

Reputation: 38

emacs auto indenting .md file (in Fundamental mode)

I am editing a markdown file in emacs. Emacs automatically sets it to Fundamental mode and is auto indenting any newlines I enter. I tried disabling electric-indent-mode and didn't have any success. How do I disable this feature in this and other plain text files.

# Hello
    a
    b
    c
    d

Upvotes: 0

Views: 318

Answers (1)

Ivan Grishaev
Ivan Grishaev

Reputation: 1679

Install markdown package:

M-x package-install RET markdown-mode RET

it supports .md files as well.

Upvotes: 0

Related Questions