You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,8 @@
1
1
# *nginx* config file formatter/beautifier
2
2
3
-
*nginx* config file formatter/beautifier written in Python with no additional dependencies. It can be used as library or standalone script. It formats *nginx* configuration files in consistent way, described below:
3
+
*nginx* config file formatter/beautifier written in Python with no additional dependencies.
4
+
It can be used as library or standalone script.
5
+
It formats *nginx* configuration files in consistent way, described below:
4
6
5
7
* All lines are indented in uniform manner, with 4 spaces per level. Number of spaces is customizable.
6
8
* Neighbouring empty lines are collapsed to at most two empty lines.
@@ -19,8 +21,7 @@ pip3 install nginxfmt
19
21
20
22
### Manual installation
21
23
22
-
The simplest form of installation would be copying `nginxfmt.py` to
23
-
your scripts' directory. It has no 3-rd party dependencies.
24
+
The simplest form of installation would be copying `nginxfmt.py` to your scripts' directory. It has no third party dependencies.
24
25
25
26
You can also clone the repository and symlink the executable:
26
27
@@ -97,7 +98,7 @@ Please create issue under https://github.com/slomkowski/nginx-config-formatter/i
0 commit comments