git.iko.soy/typeable/pandoc
on master help sign in
Merge pull request #1227 from tarleb/editorconfig
4eb150aJohn MacFarlane
.editorconfignew file+12
@@ -0,0 +1,12 @@
1+root = true
2+
3+[*]
4+charset = utf-8
5+end_of_line = lf
6+indent_style = space
7+indent_size = 2
8+insert_final_newline = true
9+trim_trailing_whitespace = true
10+
11+[*.{markdown,md}]
12+trim_trailing_whitespace = false
CONTRIBUTING.md+3
@@ -60,6 +60,8 @@ Please follow these guidelines:
603. Follow the stylistic conventions you find in the existing
603. Follow the stylistic conventions you find in the existing
61 pandoc code. Use spaces, not tabs, and wrap code to 80 columns.
61 pandoc code. Use spaces, not tabs, and wrap code to 80 columns.
62 Always include type signatures for top-level functions.
62 Always include type signatures for top-level functions.
63+ Consider installing [EditorConfig], this will help you to follow the
64+ coding style prevalent in pandoc.
63
65
644. Your code should compile without warnings (`-Wall` clean).
664. Your code should compile without warnings (`-Wall` clean).
65
67
@@ -177,5 +179,6 @@ The library is structured as follows:
177[issue tracker]: https://github.com/jgm/pandoc/issues
179[issue tracker]: https://github.com/jgm/pandoc/issues
178[User's Guide]: http://johnmacfarlane.net/pandoc/README.html
180[User's Guide]: http://johnmacfarlane.net/pandoc/README.html
179[FAQs]: http://johnmacfarlane.net/pandoc/faqs.html
181[FAQs]: http://johnmacfarlane.net/pandoc/faqs.html
182+[EditorConfig]: http://editorconfig.org/
180[Haskell platform]: http://www.haskell.org/platform/
183[Haskell platform]: http://www.haskell.org/platform/
181[hsb2hs]: http://hackage.haskell.org/package/hsb2hs
184[hsb2hs]: http://hackage.haskell.org/package/hsb2hs