Skip to content

Commit b744f59

Browse files
committed
Add .editorconfig and update README
[ci skip]
1 parent 6d084bc commit b744f59

File tree

2 files changed

+32
-11
lines changed

2 files changed

+32
-11
lines changed

.editorconfig

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# http://editorconfig.org/
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
[*]
7+
charset = "utf8"
8+
end_of_line = lf
9+
indent_size = 2
10+
indent_style = space
11+
insert_final_newline = true
12+
trim_trailing_whitespace = true
13+
14+
[*.md]
15+
indent_size = 4
16+
indent_style = tab
17+
trim_trailing_whitespace = false

README.md

+15-11
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ Exfile, like Refile, supports pluggable storage adapters. Exfile ships with a
1414
filesystem-backed storage adapter.
1515

1616
* [exfile-memory](https://github.com/keichan34/exfile-memory) -- a memory-backed
17-
(ETS) storage adapter. This is usually only useful as a cache.
17+
(ETS) storage adapter. This is usually only useful as a cache.
1818
* [exfile-b2](https://github.com/keichan34/exfile-b2) -- storage adapter for
19-
Backblaze B2.
19+
Backblaze B2.
2020

2121
## File Processors
2222

@@ -27,19 +27,23 @@ images, `exfile-imagemagick` is recommended.
2727

2828
## Installation
2929

30-
1. Add exfile to your list of dependencies in `mix.exs`:
30+
1. Add exfile to your list of dependencies in `mix.exs`:
3131

32-
def deps do
33-
[{:exfile, "~> 0.0.5"}]
34-
end
32+
```elixir
33+
def deps do
34+
[{:exfile, "~> 0.0.5"}]
35+
end
36+
```
3537

36-
2. Ensure exfile is started before your application:
38+
2. Ensure exfile is started before your application:
3739

38-
def application do
39-
[applications: [:exfile]]
40-
end
40+
```elixir
41+
def application do
42+
[applications: [:exfile]]
43+
end
44+
```
4145

42-
3. Mount the Exfile routes in your router.
46+
3. Mount the Exfile routes in your router.
4347

4448
### Phoenix
4549

0 commit comments

Comments
 (0)