.editorconfig init

This commit is contained in:
Mohammad Hossein Mojtahedi 2014-05-22 21:24:24 +04:30
parent 94d84a08e9
commit aa70e73c57
8 changed files with 119 additions and 104 deletions

13
.editorconfig Normal file
View File

@ -0,0 +1,13 @@
# editorconfig.org
root = true
[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
trim_trailing_whitespace = false

View File

@ -22,18 +22,18 @@ By submitting code you agree to the [LICENSE](https://github.com/vhf/free-progra
### Formatting
+ All lists are ```.md``` files. Try to learn Github's Markdown syntax. It's simple!
+ All lists are `.md` files. Try to learn Github's Markdown syntax. It's simple!
+ All the lists start with an Index, the idea is to show all of sections and subsections there, so it's important to have an index for each section. Right now it's alphabetized, so please use alphabetic order.
+ Sections are using level 3 heading (in HTML is ```<h3>```, in Markdown is ```###```), and subsections are using level 4 (in HTML is ```<h4>```, in Markdown is ```####```).
+ Sections are using level 3 heading (in HTML is `<h3>`, in Markdown is `###`), and subsections are using level 4 (in HTML is `<h4>`, in Markdown is `####`).
The idea is to have
+ ```2``` empty lines between last suggested book & new header
+ ```0``` empty line between header & first book of that very section.
+ ```0``` empty line between each book in 1 section.
+ ```1``` empty line at the end of each ```.md``` file.
+ `2` empty lines between last suggested book & new header
+ `0` empty line between header & first book of that very section.
+ `0` empty line between each book in 1 section.
+ `1` empty line at the end of each `.md` file.
Like this example:
```
```markdown
[...]
* [Essential Pascal Version 1 and 2](http://www.marcocantu.com/epascal/)

View File

@ -1,7 +1,7 @@
###فهرست
* [گنو/لینوکس](#%DA%AF%D9%86%D9%88%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3)
* [آرچ لینوکس](#%D8%A2%D8%B1%DA%86-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3)
* [اوبونتو](#%D8%A7%D9%88%D8%A8%D9%88%D9%86%D8%AA%D9%88)
* [آرچ لینوکس](#%D8%A2%D8%B1%DA%86-%D9%84%DB%8C%D9%86%D9%88%DA%A9%D8%B3)
* [اوبونتو](#%D8%A7%D9%88%D8%A8%D9%88%D9%86%D8%AA%D9%88)
* [CSS](#css)
* [LaTeX](#latex)
* [PHP](#php)

View File

@ -1,16 +1,16 @@
###Index
* [HTML & CSS](#html-css)
* [Javascript](#javascript)
* [PHP](#php)
###html-css
* [Belajar HTML dan CSS](http://www.ariona.net/ebook-belajar-html-dan-css/)
###javascript
* [Mengenal Javascript](http://masputih.com/2013/01/ebook-gratis-mengenal-javascript)
###php
* [Tutorial Ebook PHP](http://adf.ly/1847642/http://www.4shared.com/rar/CtmMQ24E/Ebook_Tutorial_PHP.html)

View File

@ -15,6 +15,7 @@
* [Shell Script](#shell)
* [Lua](#lua)
###C
* [Introdução a Programação](https://github.com/edusantana/introducao-a-programacao-livro/releases) - livro adotado na UFPB.
* [Projeto de Algoritmos em C](http://www.ime.usp.br/~pf/algoritmos/).

View File

@ -13,6 +13,7 @@
* [Python](#python)
* [Rust](#rust)
###C
* [C Programlama Diline Giris](http://www1.gantep.edu.tr/~bingul/c/index.php)
* [Sistem Programlama ve İleri C Uygulamaları Kurs Notları](http://www.kaanaslan.com/resource/course_note/download_file.php?file_id=16)