Skip to content

Commit 54c078d

Browse files
committed
Updated editor guidelines
1 parent 7f30cf9 commit 54c078d

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

README.md

+13-2
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,20 @@ It's easiest to start at the end. Think of a fun and interesting topic to add to
4343

4444
## Editing Text
4545

46-
We use long-lines (no newlines in paragraphs) to keep diffs moderately sane.
46+
* We use long-lines (no newlines in paragraphs) to keep diffs moderately sane.
47+
* Code is indented with 4 spaces.
48+
* HTML/CSS is indented with 2 spaces.
4749

48-
I use Emacs 24, with markdown-mode (Ubuntu emacs-goodies-el) and gfm-mode (GitHub markdown minor-mode). Set `longlines-show-hard-newlines` if you want to see where all the newlines are.
50+
I use Emacs 24, with markdown-mode (Ubuntu emacs-goodies-el) and gfm-mode (GitHub markdown minor-mode). Set `longlines-show-hard-newlines` if you want to see where all the newlines are. These settings are useful:
51+
52+
(add-to-list 'auto-mode-alist '("\\.md\\'" . markdown-mode))
53+
(setq-default indent-tabs-mode nil)
54+
55+
In Vim, you might like these settings:
56+
57+
set tabstop=4
58+
set shiftwidth=4
59+
set expandtab
4960

5061
# Markup Guide
5162

0 commit comments

Comments
 (0)